#5D2C90#5D2C90
#5D2C90 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.3% C 0.158 H 302.4°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).
Color values
| HEX | #5D2C90 |
|---|---|
| RGB | rgb(93, 44, 144) |
| HSL | hsl(269, 53%, 37%) |
| HSV | hsv(269, 69%, 56%) |
| CMYK | cmyk(35.4%, 69.4%, 0%, 43.5%) |
| CIE-LAB | lab(29.77, 42.24, -46.76) |
| CIE-LCH | lch(29.77, 63.01, 312.09°) |
| OKLab | oklab(41.31% 0.0845 -0.133) |
| OKLCH | oklch(41.31% 0.158 302.4) |
| XYZ | xyz(10.4477, 6.1421, 27.0153) |
| Luminance | 0.0614 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.47
Purple (survey)
#7E1E9C
ΔE00 6.33
Darkslateblue
#483D8B
ΔE00 7.01
Indigo
#4B0082
ΔE00 7.41
Blueberry
#464196
ΔE00 8.26
Indigo Blue
#3A18B1
ΔE00 8.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D2C90 #5F902C
analogous
#2C2D90 #5D2C90 #8F2C90
triadic
#5D2C90 #905D2C #2C905D
tetradic
#5D2C90 #902C2D #5F902C #2C908F
square
#5D2C90 #902C2D #5F902C #2C908F
split-complementary
#5D2C90 #908F2C #2D902C
monochromatic
#200F32 #3F1E61 #5D2C90 #7B3ABF #9A66D0
Accessibility & contrast
On white
9.42
#5D2C90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#5D2C90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5D2C90
9.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D2C90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D2C90 | 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)
#004593
Deuteranopia (green-blind)
#00468E
Tritanopia (blue-blind)
#53435A
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #5d2c90; /* rgb */ color: rgb(93, 44, 144); /* oklch */ color: oklch(41.3% 0.158 302.4);
Tailwind
colors: {
custom: {
50: '#8f69b1',
500: '#5d2c90',
950: '#000000',
},
}SCSS
$custom: #5d2c90; $custom-light: #8f69b1; $custom-dark: #000000;
JSON
{
"hex": "#5d2c90",
"rgb": {
"r": 93,
"g": 44,
"b": 144
},
"hsl": {
"h": 269.4,
"s": 53.191,
"l": 36.863
},
"oklch": {
"l": 0.41312,
"c": 0.15757,
"h": 302.4
},
"luminance": 0.06142
}Semantic roles & 50–950 ramp
primary
#5D2C90
secondary
#8DB761
accent
#DD4B95
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80