#5C2597#5C2597
#5C2597 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.9% C 0.174 H 300.8°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).
Color values
| HEX | #5C2597 |
|---|---|
| RGB | rgb(92, 37, 151) |
| HSL | hsl(269, 61%, 37%) |
| HSV | hsv(269, 75%, 59%) |
| CMYK | cmyk(39.1%, 75.5%, 0%, 40.8%) |
| CIE-LAB | lab(28.99, 47.22, -52.34) |
| CIE-LCH | lch(28.99, 70.49, 312.05°) |
| OKLab | oklab(40.9% 0.089 -0.1494) |
| OKLCH | oklch(40.9% 0.174 300.8) |
| XYZ | xyz(10.6597, 5.8327, 29.8364) |
| Luminance | 0.0583 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.51
Purple (survey)
#7E1E9C
ΔE00 6.32
Indigo
#4B0082
ΔE00 6.40
Indigo Blue
#3A18B1
ΔE00 6.80
Violet Blue
#510AC9
ΔE00 7.50
Purple Blue
#5D21D0
ΔE00 7.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C2597 #609725
analogous
#252797 #5C2597 #952597
triadic
#5C2597 #975C25 #25975C
tetradic
#5C2597 #972527 #609725 #259795
square
#5C2597 #972527 #609725 #259795
split-complementary
#5C2597 #979525 #279725
monochromatic
#200D35 #3E1966 #5C2597 #7A31C8 #995FD8
Accessibility & contrast
On white
9.69
#5C2597 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#5C2597 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C2597
9.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C2597 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C2597 | 1.00 | 9.69 | 2.17 | 9.69 |
| #FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449A
Deuteranopia (green-blind)
#004495
Tritanopia (blue-blind)
#4F425C
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #5c2597; /* rgb */ color: rgb(92, 37, 151); /* oklch */ color: oklch(40.9% 0.174 300.8);
Tailwind
colors: {
custom: {
50: '#9065b6',
500: '#5c2597',
950: '#000000',
},
}SCSS
$custom: #5c2597; $custom-light: #9065b6; $custom-dark: #000000;
JSON
{
"hex": "#5c2597",
"rgb": {
"r": 92,
"g": 37,
"b": 151
},
"hsl": {
"h": 268.947,
"s": 60.638,
"l": 36.863
},
"oklch": {
"l": 0.40903,
"c": 0.1739,
"h": 300.8
},
"luminance": 0.05833
}Semantic roles & 50–950 ramp
primary
#5C2597
secondary
#8EBD5B
accent
#E44497
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80