#5D1CA1#5D1CA1
#5D1CA1 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 41.0% C 0.193 H 299.4°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).
Color values
| HEX | #5D1CA1 |
|---|---|
| RGB | rgb(93, 28, 161) |
| HSL | hsl(269, 70%, 37%) |
| HSV | hsv(269, 83%, 63%) |
| CMYK | cmyk(42.2%, 82.6%, 0%, 36.9%) |
| CIE-LAB | lab(28.72, 53.53, -58.87) |
| CIE-LCH | lch(28.72, 79.57, 312.28°) |
| OKLab | oklab(41.02% 0.0951 -0.1685) |
| OKLCH | oklch(41.02% 0.193 299.4) |
| XYZ | xyz(11.3608, 5.7307, 34.2189) |
| Luminance | 0.0573 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.97
Indigo Blue
#3A18B1
ΔE00 5.57
Violet Blue
#510AC9
ΔE00 5.72
Indigo
#4B0082
ΔE00 6.28
Purple (survey)
#7E1E9C
ΔE00 6.57
Purple Blue
#5D21D0
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D1CA1 #60A11C
analogous
#1C1EA1 #5D1CA1 #9F1CA1
triadic
#5D1CA1 #A15D1C #1CA15D
tetradic
#5D1CA1 #A11C1E #60A11C #1CA19F
square
#5D1CA1 #A11C1E #60A11C #1CA19F
split-complementary
#5D1CA1 #A19F1C #1EA11C
monochromatic
#210A39 #3F136D #5D1CA1 #7B25D5 #9A56E2
Accessibility & contrast
On white
9.78
#5D1CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#5D1CA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5D1CA1
9.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D1CA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D1CA1 | 1.00 | 9.78 | 2.15 | 9.78 |
| #FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A5
Deuteranopia (green-blind)
#00439F
Tritanopia (blue-blind)
#4C4260
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #5d1ca1; /* rgb */ color: rgb(93, 28, 161); /* oklch */ color: oklch(41.0% 0.193 299.4);
Tailwind
colors: {
custom: {
50: '#9262be',
500: '#5d1ca1',
950: '#000000',
},
}SCSS
$custom: #5d1ca1; $custom-light: #9262be; $custom-dark: #000000;
JSON
{
"hex": "#5d1ca1",
"rgb": {
"r": 93,
"g": 28,
"b": 161
},
"hsl": {
"h": 269.323,
"s": 70.37,
"l": 37.059
},
"oklch": {
"l": 0.41018,
"c": 0.19345,
"h": 299.4
},
"luminance": 0.05731
}Semantic roles & 50–950 ramp
primary
#5D1CA1
secondary
#8EC554
accent
#ED3B96
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0512
muted
#7E7A81