#5C2599#5C2599
#5C2599 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.1% C 0.176 H 300.2°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).
Color values
| HEX | #5C2599 |
|---|---|
| RGB | rgb(92, 37, 153) |
| HSL | hsl(268, 61%, 37%) |
| HSV | hsv(268, 76%, 60%) |
| CMYK | cmyk(39.9%, 75.8%, 0%, 40%) |
| CIE-LAB | lab(29.15, 47.72, -53.29) |
| CIE-LCH | lch(29.15, 71.54, 311.84°) |
| OKLab | oklab(41.07% 0.0885 -0.1522) |
| OKLCH | oklch(41.07% 0.176 300.2) |
| XYZ | xyz(10.8235, 5.8983, 30.6991) |
| Luminance | 0.0590 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.54
Purple (survey)
#7E1E9C
ΔE00 6.37
Indigo
#4B0082
ΔE00 6.53
Indigo Blue
#3A18B1
ΔE00 6.58
Violet Blue
#510AC9
ΔE00 7.20
Purple Blue
#5D21D0
ΔE00 7.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C2599 #629925
analogous
#252899 #5C2599 #962599
triadic
#5C2599 #995C25 #25995C
tetradic
#5C2599 #992528 #629925 #259996
square
#5C2599 #992528 #629925 #259996
split-complementary
#5C2599 #999625 #289925
monochromatic
#210D36 #3E1968 #5C2599 #7A31CA #9960D9
Accessibility & contrast
On white
9.63
#5C2599 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#5C2599 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C2599
9.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C2599 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C2599 | 1.00 | 9.63 | 2.18 | 9.63 |
| #FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449C
Deuteranopia (green-blind)
#004497
Tritanopia (blue-blind)
#4E435D
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #5c2599; /* rgb */ color: rgb(92, 37, 153); /* oklch */ color: oklch(41.1% 0.176 300.2);
Tailwind
colors: {
custom: {
50: '#9065b8',
500: '#5c2599',
950: '#000000',
},
}SCSS
$custom: #5c2599; $custom-light: #9065b8; $custom-dark: #000000;
JSON
{
"hex": "#5c2599",
"rgb": {
"r": 92,
"g": 37,
"b": 153
},
"hsl": {
"h": 268.448,
"s": 61.053,
"l": 37.255
},
"oklch": {
"l": 0.41073,
"c": 0.17607,
"h": 300.2
},
"luminance": 0.05898
}Semantic roles & 50–950 ramp
primary
#5C2599
secondary
#8FBE5C
accent
#E44498
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80