#5D2F90#5D2F90
#5D2F90 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.7% C 0.153 H 301.9°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).
Color values
| HEX | #5D2F90 |
|---|---|
| RGB | rgb(93, 47, 144) |
| HSL | hsl(268, 51%, 37%) |
| HSV | hsv(268, 67%, 56%) |
| CMYK | cmyk(35.4%, 67.4%, 0%, 43.5%) |
| CIE-LAB | lab(30.34, 40.67, -45.84) |
| CIE-LCH | lch(30.34, 61.28, 311.58°) |
| OKLab | oklab(41.72% 0.081 -0.1303) |
| OKLCH | oklch(41.72% 0.153 301.9) |
| XYZ | xyz(10.5636, 6.3738, 27.0539) |
| Luminance | 0.0637 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.16
Darkslateblue
#483D8B
ΔE00 6.50
Purple (survey)
#7E1E9C
ΔE00 6.56
Blueberry
#464196
ΔE00 7.75
Indigo
#4B0082
ΔE00 8.02
Ocean Blue
#4F42B5
ΔE00 8.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D2F90 #62902F
analogous
#2F3190 #5D2F90 #8E2F90
triadic
#5D2F90 #905D2F #2F905D
tetradic
#5D2F90 #902F31 #62902F #2F908E
square
#5D2F90 #902F31 #62902F #2F908E
split-complementary
#5D2F90 #908E2F #31902F
monochromatic
#211134 #3F2062 #5D2F90 #7B3EBE #9A6BCF
Accessibility & contrast
On white
9.23
#5D2F90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#5D2F90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5D2F90
9.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D2F90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D2F90 | 1.00 | 9.23 | 2.27 | 9.23 |
| #FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004793
Deuteranopia (green-blind)
#04478E
Tritanopia (blue-blind)
#52455B
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #5d2f90; /* rgb */ color: rgb(93, 47, 144); /* oklch */ color: oklch(41.7% 0.153 301.9);
Tailwind
colors: {
custom: {
50: '#8f6bb1',
500: '#5d2f90',
950: '#000000',
},
}SCSS
$custom: #5d2f90; $custom-light: #8f6bb1; $custom-dark: #000000;
JSON
{
"hex": "#5d2f90",
"rgb": {
"r": 93,
"g": 47,
"b": 144
},
"hsl": {
"h": 268.454,
"s": 50.785,
"l": 37.451
},
"oklch": {
"l": 0.4172,
"c": 0.15346,
"h": 301.9
},
"luminance": 0.06374
}Semantic roles & 50–950 ramp
primary
#5D2F90
secondary
#8FB665
accent
#DA4E98
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0711
muted
#7E7A80