#513D51 color
The hex color #513D51 is a dark, grayish magenta.
In the RGB color model it is made of 31.8% red, 23.9% green and 31.8% blue (81, 61, 81).
Its hue angle is 300°, with 14% saturation and 28% lightness. For print, the CMYK equivalent is 0% cyan, 25% magenta, 0% yellow and 68% black.
The closest named color is Shadow Purple (#4E334E), a difference of 4.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.83:1).
#513D51 color codes
| HEX | #513D51 | |
|---|---|---|
| RGB | rgb(81, 61, 81) | |
| RGB percent | rgb(31.8%, 23.9%, 31.8%) | |
| HSL | hsl(300, 14%, 28%) | |
| HSV / HSB | hsv(300, 25%, 32%) | |
| CMYK | cmyk(0%, 25%, 0%, 68%) | |
| CIE LAB | lab(28.59, 12.75, -8.71) | |
| CIE LCH | lch(28.59, 15.44, 325.67) | |
| CIE XYZ | xyz(6.547, 5.681, 8.535) | |
| Decimal | 5324113 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #513D51, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #513D51 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.14:1 | Fail | Fail | Fail |
| Sample text | 9.83:1 | Pass | Pass | Pass |
| #513D51 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.83:1 | Pass | Pass | Pass |
| Sample text | 2.14:1 | Fail | Fail | Fail |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #513D51 looks to people with the most common types of color vision deficiency.
#3c4252Protanopia
no red cones#404450Deuteranopia
no green cones#523f44Tritanopia
no blue cones#434343Achromatopsia
no color vision
CSS examples
.background { background-color: #513d51; }
.text { color: #513d51; }
.border { border: 2px solid #513d51; }
.transparent { background-color: rgb(81 61 81 / 50%); }
.gradient { background: linear-gradient(to right, #513d51, #513d47); }
Similar colors
#4e334eShadow Purple#42364cCall It a Night#443240Voodoo#403547Royal Decree#4f4554Black Magic#544563Nightly Walk#614051Eggplant#64435fGrape Fizz
Questions
- What color is #513D51?
- #513D51 is a dark, grayish magenta, closest to the named color Shadow Purple. It belongs to the purple family of colors.
- What is the RGB value of #513D51?
- The RGB value is 81, 61, 81: 81 red, 61 green and 81 blue on a 0 to 255 scale.
- What is the complementary color of #513D51?
- The complementary color is #3D513D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #513D51?
- White text. Black text has a contrast ratio of 2.14:1 and white text 9.83:1. WCAG asks for at least 4.5:1 for normal text.