#5C2B94#5C2B94
#5C2B94 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.4% C 0.163 H 300.8°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).
Color values
| HEX | #5C2B94 |
|---|---|
| RGB | rgb(92, 43, 148) |
| HSL | hsl(268, 55%, 37%) |
| HSV | hsv(268, 71%, 58%) |
| CMYK | cmyk(37.8%, 70.9%, 0%, 42%) |
| CIE-LAB | lab(29.77, 43.57, -49.23) |
| CIE-LCH | lch(29.77, 65.74, 311.51°) |
| OKLab | oklab(41.38% 0.0835 -0.1403) |
| OKLCH | oklch(41.38% 0.163 300.8) |
| XYZ | xyz(10.6215, 6.1411, 28.6370) |
| Luminance | 0.0614 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.58
Purple (survey)
#7E1E9C
ΔE00 6.46
Darkslateblue
#483D8B
ΔE00 7.06
Indigo
#4B0082
ΔE00 7.26
Indigo Blue
#3A18B1
ΔE00 7.65
Blueberry
#464196
ΔE00 8.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C2B94 #63942B
analogous
#2B2E94 #5C2B94 #912B94
triadic
#5C2B94 #945C2B #2B945C
tetradic
#5C2B94 #942B2E #63942B #2B9491
square
#5C2B94 #942B2E #63942B #2B9491
split-complementary
#5C2B94 #94912B #2E942B
monochromatic
#210F35 #3F1D65 #5C2B94 #7939C3 #9967D3
Accessibility & contrast
On white
9.42
#5C2B94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#5C2B94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C2B94
9.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C2B94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C2B94 | 1.00 | 9.42 | 2.23 | 9.42 |
| #FFFFFF | 9.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004697
Deuteranopia (green-blind)
#004592
Tritanopia (blue-blind)
#50445C
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #5c2b94; /* rgb */ color: rgb(92, 43, 148); /* oklch */ color: oklch(41.4% 0.163 300.8);
Tailwind
colors: {
custom: {
50: '#8f68b4',
500: '#5c2b94',
950: '#000000',
},
}SCSS
$custom: #5c2b94; $custom-light: #8f68b4; $custom-dark: #000000;
JSON
{
"hex": "#5c2b94",
"rgb": {
"r": 92,
"g": 43,
"b": 148
},
"hsl": {
"h": 268,
"s": 54.974,
"l": 37.451
},
"oklch": {
"l": 0.4138,
"c": 0.16328,
"h": 300.8
},
"luminance": 0.06141
}Semantic roles & 50–950 ramp
primary
#5C2B94
secondary
#90B962
accent
#DE4999
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80