#5D1C9D#5D1C9D
#5D1C9D is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.7% C 0.189 H 300.6°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).
Color values
| HEX | #5D1C9D |
|---|---|
| RGB | rgb(93, 28, 157) |
| HSL | hsl(270, 70%, 36%) |
| HSV | hsv(270, 82%, 62%) |
| CMYK | cmyk(40.8%, 82.2%, 0%, 38.4%) |
| CIE-LAB | lab(28.36, 52.56, -57.03) |
| CIE-LCH | lch(28.36, 77.56, 312.67°) |
| OKLab | oklab(40.65% 0.0964 -0.1631) |
| OKLCH | oklch(40.65% 0.189 300.6) |
| XYZ | xyz(11.0137, 5.5919, 32.3908) |
| Luminance | 0.0559 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.83
Indigo
#4B0082
ΔE00 5.87
Indigo Blue
#3A18B1
ΔE00 5.94
Violet Blue
#510AC9
ΔE00 6.29
Purple (survey)
#7E1E9C
ΔE00 6.41
Purple Blue
#5D21D0
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D1C9D #5C9D1C
analogous
#1D1C9D #5D1C9D #9D1C9D
triadic
#5D1C9D #9D5D1C #1C9D5D
tetradic
#5D1C9D #9D1D1C #5C9D1C #1C9D9D
square
#5D1C9D #9D1D1C #5C9D1C #1C9D9D
split-complementary
#5D1C9D #9D9D1C #1C9D1D
monochromatic
#1F0935 #3E1369 #5D1C9D #7C25D1 #9A53E0
Accessibility & contrast
On white
9.91
#5D1C9D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#5D1C9D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5D1C9D
9.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D1C9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D1C9D | 1.00 | 9.91 | 2.12 | 9.91 |
| #FFFFFF | 9.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042A0
Deuteranopia (green-blind)
#00429B
Tritanopia (blue-blind)
#4E405E
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #5d1c9d; /* rgb */ color: rgb(93, 28, 157); /* oklch */ color: oklch(40.7% 0.189 300.6);
Tailwind
colors: {
custom: {
50: '#9261bb',
500: '#5d1c9d',
950: '#000000',
},
}SCSS
$custom: #5d1c9d; $custom-light: #9261bb; $custom-dark: #000000;
JSON
{
"hex": "#5d1c9d",
"rgb": {
"r": 93,
"g": 28,
"b": 157
},
"hsl": {
"h": 270.233,
"s": 69.73,
"l": 36.275
},
"oklch": {
"l": 0.40654,
"c": 0.18944,
"h": 300.6
},
"luminance": 0.05592
}Semantic roles & 50–950 ramp
primary
#5D1C9D
secondary
#8AC351
accent
#ED3B93
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0512
muted
#7E7A81