#5C1E9E#5C1E9E
#5C1E9E is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.8% C 0.188 H 299.6°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).
Color values
| HEX | #5C1E9E |
|---|---|
| RGB | rgb(92, 30, 158) |
| HSL | hsl(269, 68%, 37%) |
| HSV | hsv(269, 81%, 62%) |
| CMYK | cmyk(41.8%, 81%, 0%, 38%) |
| CIE-LAB | lab(28.57, 51.90, -57.30) |
| CIE-LCH | lch(28.57, 77.31, 312.17°) |
| OKLab | oklab(40.8% 0.0931 -0.1639) |
| OKLCH | oklch(40.8% 0.188 299.6) |
| XYZ | xyz(11.0479, 5.6723, 32.8539) |
| Luminance | 0.0567 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.70
Indigo Blue
#3A18B1
ΔE00 5.74
Indigo
#4B0082
ΔE00 6.09
Violet Blue
#510AC9
ΔE00 6.14
Purple (survey)
#7E1E9C
ΔE00 6.58
Purple Blue
#5D21D0
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C1E9E #609E1E
analogous
#1E209E #5C1E9E #9C1E9E
triadic
#5C1E9E #9E5C1E #1E9E5C
tetradic
#5C1E9E #9E1E20 #609E1E #1E9E9C
square
#5C1E9E #9E1E20 #609E1E #1E9E9C
split-complementary
#5C1E9E #9E9C1E #209E1E
monochromatic
#200A37 #3E146B #5C1E9E #7A28D1 #9957DF
Accessibility & contrast
On white
9.84
#5C1E9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#5C1E9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C1E9E
9.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C1E9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C1E9E | 1.00 | 9.84 | 2.13 | 9.84 |
| #FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A1
Deuteranopia (green-blind)
#00429C
Tritanopia (blue-blind)
#4C425F
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #5c1e9e; /* rgb */ color: rgb(92, 30, 158); /* oklch */ color: oklch(40.8% 0.188 299.6);
Tailwind
colors: {
custom: {
50: '#9162bc',
500: '#5c1e9e',
950: '#000000',
},
}SCSS
$custom: #5c1e9e; $custom-light: #9162bc; $custom-dark: #000000;
JSON
{
"hex": "#5c1e9e",
"rgb": {
"r": 92,
"g": 30,
"b": 158
},
"hsl": {
"h": 269.063,
"s": 68.085,
"l": 36.863
},
"oklch": {
"l": 0.40799,
"c": 0.18849,
"h": 299.6
},
"luminance": 0.05672
}Semantic roles & 50–950 ramp
primary
#5C1E9E
secondary
#8EC355
accent
#EB3D97
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81