#5C2899#5C2899
#5C2899 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.4% C 0.173 H 299.7°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).
Color values
| HEX | #5C2899 |
|---|---|
| RGB | rgb(92, 40, 153) |
| HSL | hsl(268, 59%, 38%) |
| HSV | hsv(268, 74%, 60%) |
| CMYK | cmyk(39.9%, 73.9%, 0%, 40%) |
| CIE-LAB | lab(29.65, 46.33, -52.49) |
| CIE-LCH | lch(29.65, 70.01, 311.43°) |
| OKLab | oklab(41.42% 0.0856 -0.1499) |
| OKLCH | oklch(41.42% 0.173 299.7) |
| XYZ | xyz(10.9208, 6.0927, 30.7315) |
| Luminance | 0.0609 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.09
Purple (survey)
#7E1E9C
ΔE00 6.43
Indigo Blue
#3A18B1
ΔE00 6.80
Indigo
#4B0082
ΔE00 7.00
Violet Blue
#510AC9
ΔE00 7.41
Purple Blue
#5D21D0
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C2899 #659928
analogous
#282C99 #5C2899 #942899
triadic
#5C2899 #995C28 #28995C
tetradic
#5C2899 #99282C #659928 #289994
square
#5C2899 #99282C #659928 #289994
split-complementary
#5C2899 #999428 #2C9928
monochromatic
#220F38 #3F1B68 #5C2899 #7935CA #9965D7
Accessibility & contrast
On white
9.47
#5C2899 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#5C2899 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C2899
9.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C2899 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C2899 | 1.00 | 9.47 | 2.22 | 9.47 |
| #FFFFFF | 9.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469C
Deuteranopia (green-blind)
#004597
Tritanopia (blue-blind)
#4E445E
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #5c2899; /* rgb */ color: rgb(92, 40, 153); /* oklch */ color: oklch(41.4% 0.173 299.7);
Tailwind
colors: {
custom: {
50: '#9067b8',
500: '#5c2899',
950: '#000000',
},
}SCSS
$custom: #5c2899; $custom-light: #9067b8; $custom-dark: #000000;
JSON
{
"hex": "#5c2899",
"rgb": {
"r": 92,
"g": 40,
"b": 153
},
"hsl": {
"h": 267.611,
"s": 58.549,
"l": 37.843
},
"oklch": {
"l": 0.4142,
"c": 0.17262,
"h": 299.7
},
"luminance": 0.06093
}Semantic roles & 50–950 ramp
primary
#5C2899
secondary
#92BD60
accent
#E2469A
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80