#5C1FA9#5C1FA9
#5C1FA9 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.9% C 0.199 H 296.5°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).
Color values
| HEX | #5C1FA9 |
|---|---|
| RGB | rgb(92, 31, 169) |
| HSL | hsl(267, 69%, 39%) |
| HSV | hsv(267, 82%, 66%) |
| CMYK | cmyk(45.6%, 81.7%, 0%, 33.7%) |
| CIE-LAB | lab(29.71, 54.24, -62.09) |
| CIE-LCH | lch(29.71, 82.44, 311.14°) |
| OKLab | oklab(41.9% 0.0888 -0.178) |
| OKLCH | oklch(41.9% 0.199 296.5) |
| XYZ | xyz(12.0631, 6.1196, 38.0740) |
| Luminance | 0.0612 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Violet Blue
#510AC9
ΔE00 4.67
Indigo Blue
#3A18B1
ΔE00 4.97
Rebeccapurple
#663399
ΔE00 5.18
Purple Blue
#5D21D0
ΔE00 5.33
Purple (survey)
#7E1E9C
ΔE00 7.11
Indigo
#4B0082
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C1FA9 #6CA91F
analogous
#1F27A9 #5C1FA9 #A11FA9
triadic
#5C1FA9 #A95C1F #1FA95C
tetradic
#5C1FA9 #A91F27 #6CA91F #1FA9A1
square
#5C1FA9 #A91F27 #6CA91F #1FA9A1
split-complementary
#5C1FA9 #A9A11F #27A91F
monochromatic
#240C42 #401675 #5C1FA9 #792DD8 #9A60E2
Accessibility & contrast
On white
9.44
#5C1FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#5C1FA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C1FA9
9.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C1FA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C1FA9 | 1.00 | 9.44 | 2.22 | 9.44 |
| #FFFFFF | 9.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047AD
Deuteranopia (green-blind)
#0044A6
Tritanopia (blue-blind)
#474765
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #5c1fa9; /* rgb */ color: rgb(92, 31, 169); /* oklch */ color: oklch(41.9% 0.199 296.5);
Tailwind
colors: {
custom: {
50: '#9263c4',
500: '#5c1fa9',
950: '#000000',
},
}SCSS
$custom: #5c1fa9; $custom-light: #9263c4; $custom-dark: #000000;
JSON
{
"hex": "#5c1fa9",
"rgb": {
"r": 92,
"g": 31,
"b": 169
},
"hsl": {
"h": 266.522,
"s": 69,
"l": 39.216
},
"oklch": {
"l": 0.419,
"c": 0.19888,
"h": 296.5
},
"luminance": 0.0612
}Semantic roles & 50–950 ramp
primary
#5C1FA9
secondary
#98C75D
accent
#EC3C9E
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82