#5C1DA1#5C1DA1
#5C1DA1 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 41.0% C 0.192 H 298.8°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).
Color values
| HEX | #5C1DA1 |
|---|---|
| RGB | rgb(92, 29, 161) |
| HSL | hsl(269, 69%, 37%) |
| HSV | hsv(269, 82%, 63%) |
| CMYK | cmyk(42.9%, 82%, 0%, 36.9%) |
| CIE-LAB | lab(28.71, 53.01, -58.89) |
| CIE-LCH | lch(28.71, 79.24, 311.99°) |
| OKLab | oklab(40.98% 0.0928 -0.1686) |
| OKLCH | oklch(40.98% 0.192 298.8) |
| XYZ | xyz(11.2844, 5.7271, 34.2222) |
| Luminance | 0.0573 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.94
Indigo Blue
#3A18B1
ΔE00 5.44
Violet Blue
#510AC9
ΔE00 5.68
Indigo
#4B0082
ΔE00 6.30
Purple Blue
#5D21D0
ΔE00 6.56
Purple (survey)
#7E1E9C
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C1DA1 #62A11D
analogous
#1D20A1 #5C1DA1 #9E1DA1
triadic
#5C1DA1 #A15C1D #1DA15C
tetradic
#5C1DA1 #A11D20 #62A11D #1DA19E
square
#5C1DA1 #A11D20 #62A11D #1DA19E
split-complementary
#5C1DA1 #A19E1D #20A11D
monochromatic
#210A39 #3E146D #5C1DA1 #7A26D5 #9958E1
Accessibility & contrast
On white
9.79
#5C1DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#5C1DA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C1DA1
9.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C1DA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C1DA1 | 1.00 | 9.79 | 2.15 | 9.79 |
| #FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A5
Deuteranopia (green-blind)
#00429F
Tritanopia (blue-blind)
#4B4360
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #5c1da1; /* rgb */ color: rgb(92, 29, 161); /* oklch */ color: oklch(41.0% 0.192 298.8);
Tailwind
colors: {
custom: {
50: '#9162be',
500: '#5c1da1',
950: '#000000',
},
}SCSS
$custom: #5c1da1; $custom-light: #9162be; $custom-dark: #000000;
JSON
{
"hex": "#5c1da1",
"rgb": {
"r": 92,
"g": 29,
"b": 161
},
"hsl": {
"h": 268.636,
"s": 69.474,
"l": 37.255
},
"oklch": {
"l": 0.40982,
"c": 0.19245,
"h": 298.8
},
"luminance": 0.05727
}Semantic roles & 50–950 ramp
primary
#5C1DA1
secondary
#8FC455
accent
#EC3C98
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81