#513A5D color
The hex color #513A5D is a dark, grayish violet.
In the RGB color model it is made of 31.8% red, 22.7% green and 36.5% blue (81, 58, 93).
Its hue angle is 279°, with 23% saturation and 30% lightness. For print, the CMYK equivalent is 13% cyan, 38% magenta, 0% yellow and 64% black.
The closest named color is Royal Crown (#4F325E), a difference of 3.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.94:1).
#513A5D color codes
| HEX | #513A5D | |
|---|---|---|
| RGB | rgb(81, 58, 93) | |
| RGB percent | rgb(31.8%, 22.7%, 36.5%) | |
| HSL | hsl(279, 23%, 30%) | |
| HSV / HSB | hsv(279, 38%, 36%) | |
| CMYK | cmyk(13%, 38%, 0%, 64%) | |
| CIE LAB | lab(28.29, 17.49, -16.97) | |
| CIE LCH | lch(28.29, 24.37, 315.87) | |
| CIE XYZ | xyz(6.882, 5.566, 11.066) | |
| Decimal | 5323357 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #513A5D, 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 #513A5D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.11:1 | Fail | Fail | Fail |
| Sample text | 9.94:1 | Pass | Pass | Pass |
| #513A5D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.94:1 | Pass | Pass | Pass |
| Sample text | 2.11: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 #513A5D looks to people with the most common types of color vision deficiency.
#34415eProtanopia
no red cones#3a435cDeuteranopia
no green cones#503f47Tritanopia
no blue cones#434343Achromatopsia
no color vision
CSS examples
.background { background-color: #513a5d; }
.text { color: #513a5d; }
.border { border: 2px solid #513a5d; }
.transparent { background-color: rgb(81 58 93 / 50%); }
.gradient { background: linear-gradient(to right, #513a5d, #5d3a57); }
Similar colors
#4f325eRoyal Crown#57446aHaunted Candelabra#5b365eLong Passionate Night#543254Purple Prose#4e334eShadow Purple#544563Nightly Walk#593569Purple Protégé#4a3b6aMeteorite
Closest common color name: Eggplant.
Questions
- What color is #513A5D?
- #513A5D is a dark, grayish violet, closest to the named color Royal Crown. It belongs to the purple family of colors.
- What is the RGB value of #513A5D?
- The RGB value is 81, 58, 93: 81 red, 58 green and 93 blue on a 0 to 255 scale.
- What is the complementary color of #513A5D?
- The complementary color is #465D3A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #513A5D?
- White text. Black text has a contrast ratio of 2.11:1 and white text 9.94:1. WCAG asks for at least 4.5:1 for normal text.