#5D2C8F#5D2C8F
#5D2C8F is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.2% C 0.156 H 302.7°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).
Color values
| HEX | #5D2C8F |
|---|---|
| RGB | rgb(93, 44, 143) |
| HSL | hsl(270, 53%, 37%) |
| HSV | hsv(270, 69%, 56%) |
| CMYK | cmyk(35%, 69.2%, 0%, 43.9%) |
| CIE-LAB | lab(29.69, 41.98, -46.27) |
| CIE-LCH | lch(29.69, 62.48, 312.22°) |
| OKLab | oklab(41.23% 0.0846 -0.1316) |
| OKLCH | oklch(41.23% 0.156 302.7) |
| XYZ | xyz(10.3716, 6.1117, 26.6145) |
| Luminance | 0.0611 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.54
Purple (survey)
#7E1E9C
ΔE00 6.34
Darkslateblue
#483D8B
ΔE00 7.03
Indigo
#4B0082
ΔE00 7.39
Blueberry
#464196
ΔE00 8.32
Indigo Blue
#3A18B1
ΔE00 8.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D2C8F #5E8F2C
analogous
#2C2D8F #5D2C8F #8F2C8F
triadic
#5D2C8F #8F5D2C #2C8F5D
tetradic
#5D2C8F #8F2C2D #5E8F2C #2C8F8F
square
#5D2C8F #8F2C2D #5E8F2C #2C8F8F
split-complementary
#5D2C8F #8F8F2C #2D8F2C
monochromatic
#200F31 #3F1E60 #5D2C8F #7B3ABE #9A66D0
Accessibility & contrast
On white
9.45
#5D2C8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#5D2C8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5D2C8F
9.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D2C8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D2C8F | 1.00 | 9.45 | 2.22 | 9.45 |
| #FFFFFF | 9.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004592
Deuteranopia (green-blind)
#00468D
Tritanopia (blue-blind)
#53435A
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #5d2c8f; /* rgb */ color: rgb(93, 44, 143); /* oklch */ color: oklch(41.2% 0.156 302.7);
Tailwind
colors: {
custom: {
50: '#8f69b0',
500: '#5d2c8f',
950: '#000000',
},
}SCSS
$custom: #5d2c8f; $custom-light: #8f69b0; $custom-dark: #000000;
JSON
{
"hex": "#5d2c8f",
"rgb": {
"r": 93,
"g": 44,
"b": 143
},
"hsl": {
"h": 269.697,
"s": 52.941,
"l": 36.667
},
"oklch": {
"l": 0.41234,
"c": 0.15642,
"h": 302.7
},
"luminance": 0.06112
}Semantic roles & 50–950 ramp
primary
#5D2C8F
secondary
#8CB661
accent
#DC4B95
background
#F9F6FA
surface
#F1EBF5
border
#CBC6CF
text
#0D0611
muted
#7E7A80