#5C2C96#5C2C96
#5C2C96 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.7% C 0.164 H 300.0°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).
Color values
| HEX | #5C2C96 |
|---|---|
| RGB | rgb(92, 44, 150) |
| HSL | hsl(267, 55%, 38%) |
| HSV | hsv(267, 71%, 59%) |
| CMYK | cmyk(38.7%, 70.7%, 0%, 41.2%) |
| CIE-LAB | lab(30.10, 43.58, -49.91) |
| CIE-LCH | lch(30.10, 66.26, 311.13°) |
| OKLab | oklab(41.67% 0.0821 -0.1423) |
| OKLCH | oklch(41.67% 0.164 300) |
| XYZ | xyz(10.8180, 6.2786, 29.4902) |
| Luminance | 0.0628 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.44
Purple (survey)
#7E1E9C
ΔE00 6.54
Darkslateblue
#483D8B
ΔE00 6.91
Indigo Blue
#3A18B1
ΔE00 7.51
Indigo
#4B0082
ΔE00 7.53
Blueberry
#464196
ΔE00 7.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C2C96 #66962C
analogous
#2C3196 #5C2C96 #912C96
triadic
#5C2C96 #965C2C #2C965C
tetradic
#5C2C96 #962C31 #66962C #2C9691
square
#5C2C96 #962C31 #66962C #2C9691
split-complementary
#5C2C96 #96912C #31962C
monochromatic
#221037 #3F1E67 #5C2C96 #793AC5 #9969D3
Accessibility & contrast
On white
9.31
#5C2C96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#5C2C96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C2C96
9.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C2C96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C2C96 | 1.00 | 9.31 | 2.26 | 9.31 |
| #FFFFFF | 9.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004799
Deuteranopia (green-blind)
#004694
Tritanopia (blue-blind)
#4F455D
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #5c2c96; /* rgb */ color: rgb(92, 44, 150); /* oklch */ color: oklch(41.7% 0.164 300.0);
Tailwind
colors: {
custom: {
50: '#8f69b6',
500: '#5c2c96',
950: '#000000',
},
}SCSS
$custom: #5c2c96; $custom-light: #8f69b6; $custom-dark: #000000;
JSON
{
"hex": "#5c2c96",
"rgb": {
"r": 92,
"g": 44,
"b": 150
},
"hsl": {
"h": 267.17,
"s": 54.639,
"l": 38.039
},
"oklch": {
"l": 0.41671,
"c": 0.16429,
"h": 300
},
"luminance": 0.06279
}Semantic roles & 50–950 ramp
primary
#5C2C96
secondary
#93BA64
accent
#DE4A9B
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80