#513A4D color
The hex color #513A4D is a dark, grayish magenta.
In the RGB color model it is made of 31.8% red, 22.7% green and 30.2% blue (81, 58, 77).
Its hue angle is 310°, with 17% saturation and 27% lightness. For print, the CMYK equivalent is 0% cyan, 28% magenta, 5% yellow and 68% black.
The closest named color is Shadow Purple (#4E334E), a difference of 3.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 10.18:1).
#513A4D color codes
| HEX | #513A4D | |
|---|---|---|
| RGB | rgb(81, 58, 77) | |
| RGB percent | rgb(31.8%, 22.7%, 30.2%) | |
| HSL | hsl(310, 17%, 27%) | |
| HSV / HSB | hsv(310, 28%, 32%) | |
| CMYK | cmyk(0%, 28%, 5%, 68%) | |
| CIE LAB | lab(27.6, 13.82, -7.58) | |
| CIE LCH | lch(27.6, 15.76, 331.24) | |
| CIE XYZ | xyz(6.246, 5.311, 7.716) | |
| Decimal | 5323341 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #513A4D, 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 #513A4D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.06:1 | Fail | Fail | Fail |
| Sample text | 10.18:1 | Pass | Pass | Pass |
| #513A4D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.18:1 | Pass | Pass | Pass |
| Sample text | 2.06: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 #513A4D looks to people with the most common types of color vision deficiency.
#3a3f4eProtanopia
no red cones#3f424cDeuteranopia
no green cones#533b41Tritanopia
no blue cones#414141Achromatopsia
no color vision
CSS examples
.background { background-color: #513a4d; }
.text { color: #513a4d; }
.border { border: 2px solid #513a4d; }
.transparent { background-color: rgb(81 58 77 / 50%); }
.gradient { background: linear-gradient(to right, #513a4d, #513a42); }
Similar colors
#4e334eShadow Purple#443240Voodoo#614051Eggplant#42364cCall It a Night#403547Royal Decree#64435fGrape Fizz#543254Purple Prose#4f4554Black Magic
Questions
- What color is #513A4D?
- #513A4D 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 #513A4D?
- The RGB value is 81, 58, 77: 81 red, 58 green and 77 blue on a 0 to 255 scale.
- What is the complementary color of #513A4D?
- The complementary color is #3A513E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #513A4D?
- White text. Black text has a contrast ratio of 2.06:1 and white text 10.18:1. WCAG asks for at least 4.5:1 for normal text.