#5C2199#5C2199
#5C2199 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.6% C 0.180 H 300.7°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).
Color values
| HEX | #5C2199 |
|---|---|
| RGB | rgb(92, 33, 153) |
| HSL | hsl(270, 65%, 36%) |
| HSV | hsv(270, 78%, 60%) |
| CMYK | cmyk(39.9%, 78.4%, 0%, 40%) |
| CIE-LAB | lab(28.55, 49.46, -54.29) |
| CIE-LCH | lch(28.55, 73.44, 312.34°) |
| OKLab | oklab(40.65% 0.0921 -0.1551) |
| OKLCH | oklch(40.65% 0.18 300.7) |
| XYZ | xyz(10.7058, 5.6628, 30.6598) |
| Luminance | 0.0566 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.15
Indigo
#4B0082
ΔE00 5.99
Indigo Blue
#3A18B1
ΔE00 6.36
Purple (survey)
#7E1E9C
ΔE00 6.38
Violet Blue
#510AC9
ΔE00 6.99
Purple Blue
#5D21D0
ΔE00 7.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C2199 #5E9921
analogous
#212299 #5C2199 #982199
triadic
#5C2199 #995C21 #21995C
tetradic
#5C2199 #992122 #5E9921 #219998
square
#5C2199 #992122 #5E9921 #219998
split-complementary
#5C2199 #999821 #229921
monochromatic
#1F0B34 #3E1667 #5C2199 #7A2CCB #9959DB
Accessibility & contrast
On white
9.85
#5C2199 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#5C2199 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C2199
9.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C2199 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C2199 | 1.00 | 9.85 | 2.13 | 9.85 |
| #FFFFFF | 9.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00439C
Deuteranopia (green-blind)
#004397
Tritanopia (blue-blind)
#4E415C
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #5c2199; /* rgb */ color: rgb(92, 33, 153); /* oklch */ color: oklch(40.6% 0.180 300.7);
Tailwind
colors: {
custom: {
50: '#9063b8',
500: '#5c2199',
950: '#000000',
},
}SCSS
$custom: #5c2199; $custom-light: #9063b8; $custom-dark: #000000;
JSON
{
"hex": "#5c2199",
"rgb": {
"r": 92,
"g": 33,
"b": 153
},
"hsl": {
"h": 269.5,
"s": 64.516,
"l": 36.471
},
"oklch": {
"l": 0.40646,
"c": 0.18037,
"h": 300.7
},
"luminance": 0.05663
}Semantic roles & 50–950 ramp
primary
#5C2199
secondary
#8CBF56
accent
#E84095
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80