#5D2F91#5D2F91
#5D2F91 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.8% C 0.155 H 301.5°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).
Color values
| HEX | #5D2F91 |
|---|---|
| RGB | rgb(93, 47, 145) |
| HSL | hsl(268, 51%, 38%) |
| HSV | hsv(268, 68%, 57%) |
| CMYK | cmyk(35.9%, 67.6%, 0%, 43.1%) |
| CIE-LAB | lab(30.41, 40.93, -46.34) |
| CIE-LCH | lch(30.41, 61.83, 311.45°) |
| OKLab | oklab(41.8% 0.0809 -0.1318) |
| OKLCH | oklch(41.8% 0.155 301.5) |
| XYZ | xyz(10.6403, 6.4045, 27.4582) |
| Luminance | 0.0640 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.08
Darkslateblue
#483D8B
ΔE00 6.49
Purple (survey)
#7E1E9C
ΔE00 6.55
Blueberry
#464196
ΔE00 7.70
Indigo
#4B0082
ΔE00 8.03
Ocean Blue
#4F42B5
ΔE00 8.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D2F91 #63912F
analogous
#2F3291 #5D2F91 #8E2F91
triadic
#5D2F91 #915D2F #2F915D
tetradic
#5D2F91 #912F32 #63912F #2F918E
square
#5D2F91 #912F32 #63912F #2F918E
split-complementary
#5D2F91 #918E2F #32912F
monochromatic
#221135 #3F2063 #5D2F91 #7B3EBF #9A6BCF
Accessibility & contrast
On white
9.21
#5D2F91 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#5D2F91 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5D2F91
9.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D2F91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D2F91 | 1.00 | 9.21 | 2.28 | 9.21 |
| #FFFFFF | 9.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004794
Deuteranopia (green-blind)
#00478F
Tritanopia (blue-blind)
#52455C
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #5d2f91; /* rgb */ color: rgb(93, 47, 145); /* oklch */ color: oklch(41.8% 0.155 301.5);
Tailwind
colors: {
custom: {
50: '#8f6bb2',
500: '#5d2f91',
950: '#000000',
},
}SCSS
$custom: #5d2f91; $custom-light: #8f6bb2; $custom-dark: #000000;
JSON
{
"hex": "#5d2f91",
"rgb": {
"r": 93,
"g": 47,
"b": 145
},
"hsl": {
"h": 268.163,
"s": 51.042,
"l": 37.647
},
"oklch": {
"l": 0.41797,
"c": 0.15463,
"h": 301.5
},
"luminance": 0.06405
}Semantic roles & 50–950 ramp
primary
#5D2F91
secondary
#90B665
accent
#DB4D98
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0711
muted
#7E7A80