#5D2D9F#5D2D9F
#5D2D9F is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.7% C 0.174 H 297.8°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).
Color values
| HEX | #5D2D9F |
|---|---|
| RGB | rgb(93, 45, 159) |
| HSL | hsl(265, 56%, 40%) |
| HSV | hsv(265, 72%, 62%) |
| CMYK | cmyk(41.5%, 71.7%, 0%, 37.6%) |
| CIE-LAB | lab(31.13, 45.64, -53.72) |
| CIE-LCH | lch(31.13, 70.49, 310.35°) |
| OKLab | oklab(42.65% 0.0809 -0.1535) |
| OKLCH | oklch(42.65% 0.174 297.8) |
| XYZ | xyz(11.7090, 6.7069, 33.4718) |
| Luminance | 0.0671 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.66
Purple (survey)
#7E1E9C
ΔE00 6.68
Purple Blue
#5D21D0
ΔE00 6.83
Indigo Blue
#3A18B1
ΔE00 6.86
Ocean Blue
#4F42B5
ΔE00 7.04
Violet Blue
#510AC9
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D2D9F #6F9F2D
analogous
#2D369F #5D2D9F #962D9F
triadic
#5D2D9F #9F5D2D #2D9F5D
tetradic
#5D2D9F #9F2D36 #6F9F2D #2D9F96
square
#5D2D9F #9F2D36 #6F9F2D #2D9F96
split-complementary
#5D2D9F #9F962D #369F2D
monochromatic
#251240 #41206F #5D2D9F #7A40C9 #9B70D6
Accessibility & contrast
On white
8.97
#5D2D9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#5D2D9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5D2D9F
8.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D2D9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D2D9F | 1.00 | 8.97 | 2.34 | 8.97 |
| #FFFFFF | 8.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AA2
Deuteranopia (green-blind)
#00489D
Tritanopia (blue-blind)
#4D4963
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #5d2d9f; /* rgb */ color: rgb(93, 45, 159); /* oklch */ color: oklch(42.7% 0.174 297.8);
Tailwind
colors: {
custom: {
50: '#916abc',
500: '#5d2d9f',
950: '#000000',
},
}SCSS
$custom: #5d2d9f; $custom-light: #916abc; $custom-dark: #000000;
JSON
{
"hex": "#5d2d9f",
"rgb": {
"r": 93,
"g": 45,
"b": 159
},
"hsl": {
"h": 265.263,
"s": 55.882,
"l": 40
},
"oklch": {
"l": 0.42654,
"c": 0.17351,
"h": 297.8
},
"luminance": 0.06707
}Semantic roles & 50–950 ramp
primary
#5D2D9F
secondary
#9BBE6A
accent
#DF49A0
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0712
muted
#7E7A81