#5C1A91#5C1A91
#5C1A91 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.3% C 0.179 H 304.0°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).
Color values
| HEX | #5C1A91 |
|---|---|
| RGB | rgb(92, 26, 145) |
| HSL | hsl(273, 70%, 34%) |
| HSV | hsv(273, 82%, 57%) |
| CMYK | cmyk(36.6%, 82.1%, 0%, 43.1%) |
| CIE-LAB | lab(26.90, 50.28, -52.05) |
| CIE-LCH | lch(26.90, 72.37, 314.01°) |
| OKLab | oklab(39.28% 0.1001 -0.1485) |
| OKLCH | oklch(39.28% 0.179 304) |
| XYZ | xyz(9.8927, 5.0585, 27.2378) |
| Luminance | 0.0506 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 4.65
Rebeccapurple
#663399
ΔE00 5.18
Purple (survey)
#7E1E9C
ΔE00 6.44
Royal Purple (survey)
#4B006E
ΔE00 6.68
Indigo (survey)
#380282
ΔE00 6.91
Indigo Blue
#3A18B1
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C1A91 #4F911A
analogous
#201A91 #5C1A91 #911A8A
triadic
#5C1A91 #915C1A #1A915C
tetradic
#5C1A91 #91201A #4F911A #1A8A91
square
#5C1A91 #91201A #4F911A #1A8A91
split-complementary
#5C1A91 #8A911A #1A9120
monochromatic
#1A0729 #3B115D #5C1A91 #7D23C5 #9B47DE
Accessibility & contrast
On white
10.44
#5C1A91 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#5C1A91 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C1A91
10.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C1A91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C1A91 | 1.00 | 10.44 | 2.01 | 10.44 |
| #FFFFFF | 10.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E94
Deuteranopia (green-blind)
#003F8F
Tritanopia (blue-blind)
#513A56
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #5c1a91; /* rgb */ color: rgb(92, 26, 145); /* oklch */ color: oklch(39.3% 0.179 304.0);
Tailwind
colors: {
custom: {
50: '#9060b2',
500: '#5c1a91',
950: '#000000',
},
}SCSS
$custom: #5c1a91; $custom-light: #9060b2; $custom-dark: #000000;
JSON
{
"hex": "#5c1a91",
"rgb": {
"r": 92,
"g": 26,
"b": 145
},
"hsl": {
"h": 273.277,
"s": 69.591,
"l": 33.529
},
"oklch": {
"l": 0.39283,
"c": 0.17908,
"h": 304
},
"luminance": 0.05058
}Semantic roles & 50–950 ramp
primary
#5C1A91
secondary
#7DC047
accent
#EC3B8A
background
#F9F5FB
surface
#F2EAF6
border
#CCC6D0
text
#0D0511
muted
#7E7980