#5D2C96#5D2C96
#5D2C96 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.8% C 0.164 H 300.5°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).
Color values
| HEX | #5D2C96 |
|---|---|
| RGB | rgb(93, 44, 150) |
| HSL | hsl(268, 55%, 38%) |
| HSV | hsv(268, 71%, 59%) |
| CMYK | cmyk(38%, 70.7%, 0%, 41.2%) |
| CIE-LAB | lab(30.23, 43.79, -49.70) |
| CIE-LCH | lch(30.23, 66.24, 311.38°) |
| OKLab | oklab(41.79% 0.0836 -0.1416) |
| OKLCH | oklch(41.79% 0.164 300.5) |
| XYZ | xyz(10.9186, 6.3304, 29.4949) |
| Luminance | 0.0633 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.30
Purple (survey)
#7E1E9C
ΔE00 6.35
Darkslateblue
#483D8B
ΔE00 7.03
Indigo
#4B0082
ΔE00 7.59
Indigo Blue
#3A18B1
ΔE00 7.66
Blueberry
#464196
ΔE00 8.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D2C96 #65962C
analogous
#2C3096 #5D2C96 #922C96
triadic
#5D2C96 #965D2C #2C965D
tetradic
#5D2C96 #962C30 #65962C #2C9692
square
#5D2C96 #962C30 #65962C #2C9692
split-complementary
#5D2C96 #96922C #30962C
monochromatic
#221037 #401E67 #5D2C96 #7A3AC5 #9A69D3
Accessibility & contrast
On white
9.27
#5D2C96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#5D2C96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5D2C96
9.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D2C96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D2C96 | 1.00 | 9.27 | 2.27 | 9.27 |
| #FFFFFF | 9.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004799
Deuteranopia (green-blind)
#004694
Tritanopia (blue-blind)
#50455D
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #5d2c96; /* rgb */ color: rgb(93, 44, 150); /* oklch */ color: oklch(41.8% 0.164 300.5);
Tailwind
colors: {
custom: {
50: '#9069b6',
500: '#5d2c96',
950: '#000000',
},
}SCSS
$custom: #5d2c96; $custom-light: #9069b6; $custom-dark: #000000;
JSON
{
"hex": "#5d2c96",
"rgb": {
"r": 93,
"g": 44,
"b": 150
},
"hsl": {
"h": 267.736,
"s": 54.639,
"l": 38.039
},
"oklch": {
"l": 0.41789,
"c": 0.16446,
"h": 300.5
},
"luminance": 0.06331
}Semantic roles & 50–950 ramp
primary
#5D2C96
secondary
#92BA64
accent
#DE4A99
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80