#5C406B color
The hex color #5C406B is a dark, desaturated violet.
In the RGB color model it is made of 36.1% red, 25.1% green and 42% blue (92, 64, 107).
Its hue angle is 279°, with 25% saturation and 34% lightness. For print, the CMYK equivalent is 14% cyan, 40% magenta, 0% yellow and 58% black.
The closest named color is Haunted Candelabra (#57446A), a difference of 2.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.75:1).
#5C406B color codes
| HEX | #5C406B | |
|---|---|---|
| RGB | rgb(92, 64, 107) | |
| RGB percent | rgb(36.1%, 25.1%, 42%) | |
| HSL | hsl(279, 25%, 34%) | |
| HSV / HSB | hsv(279, 40%, 42%) | |
| CMYK | cmyk(14%, 40%, 0%, 58%) | |
| CIE LAB | lab(31.82, 20.95, -20.37) | |
| CIE LCH | lch(31.82, 29.22, 315.81) | |
| CIE XYZ | xyz(8.9, 7.004, 14.79) | |
| Decimal | 6045803 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5C406B, 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 #5C406B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.4:1 | Fail | Fail | Fail |
| Sample text | 8.75:1 | Pass | Pass | Pass |
| #5C406B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.75:1 | Pass | Pass | Pass |
| Sample text | 2.4: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 #5C406B looks to people with the most common types of color vision deficiency.
#38496dProtanopia
no red cones#3f4c6aDeuteranopia
no green cones#5b4650Tritanopia
no blue cones#4b4b4bAchromatopsia
no color vision
CSS examples
.background { background-color: #5c406b; }
.text { color: #5c406b; }
.border { border: 2px solid #5c406b; }
.transparent { background-color: rgb(92 64 107 / 50%); }
.gradient { background: linear-gradient(to right, #5c406b, #6b4065); }
Similar colors
#57446aHaunted Candelabra#623b70Heartless#5b4276Drifting Violet#673e6eMajesty#61496eYour Majesty#674876Neon Violet#593569Purple Protégé#653b66Wine Tour
Closest common color name: Byzantium.
Questions
- What color is #5C406B?
- #5C406B is a dark, desaturated violet, closest to the named color Haunted Candelabra. It belongs to the purple family of colors.
- What is the RGB value of #5C406B?
- The RGB value is 92, 64, 107: 92 red, 64 green and 107 blue on a 0 to 255 scale.
- What is the complementary color of #5C406B?
- The complementary color is #4F6B40, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5C406B?
- White text. Black text has a contrast ratio of 2.4:1 and white text 8.75:1. WCAG asks for at least 4.5:1 for normal text.