#5C1FA0#5C1FA0
#5C1FA0 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.1% C 0.190 H 298.9°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).
Color values
| HEX | #5C1FA0 |
|---|---|
| RGB | rgb(92, 31, 160) |
| HSL | hsl(268, 68%, 37%) |
| HSV | hsv(268, 81%, 63%) |
| CMYK | cmyk(42.5%, 80.6%, 0%, 37.3%) |
| CIE-LAB | lab(28.88, 52.01, -58.00) |
| CIE-LCH | lch(28.88, 77.90, 311.88°) |
| OKLab | oklab(41.07% 0.0917 -0.166) |
| OKLCH | oklch(41.07% 0.19 298.9) |
| XYZ | xyz(11.2472, 5.7932, 33.7765) |
| Luminance | 0.0579 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.65
Indigo Blue
#3A18B1
ΔE00 5.59
Violet Blue
#510AC9
ΔE00 5.88
Indigo
#4B0082
ΔE00 6.40
Purple (survey)
#7E1E9C
ΔE00 6.65
Purple Blue
#5D21D0
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C1FA0 #63A01F
analogous
#1F23A0 #5C1FA0 #9C1FA0
triadic
#5C1FA0 #A05C1F #1FA05C
tetradic
#5C1FA0 #A01F23 #63A01F #1FA09C
square
#5C1FA0 #A01F23 #63A01F #1FA09C
split-complementary
#5C1FA0 #A09C1F #23A01F
monochromatic
#210B39 #3F156D #5C1FA0 #7929D3 #995ADF
Accessibility & contrast
On white
9.73
#5C1FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#5C1FA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C1FA0
9.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C1FA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C1FA0 | 1.00 | 9.73 | 2.16 | 9.73 |
| #FFFFFF | 9.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A3
Deuteranopia (green-blind)
#00439E
Tritanopia (blue-blind)
#4B4360
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #5c1fa0; /* rgb */ color: rgb(92, 31, 160); /* oklch */ color: oklch(41.1% 0.190 298.9);
Tailwind
colors: {
custom: {
50: '#9163bd',
500: '#5c1fa0',
950: '#000000',
},
}SCSS
$custom: #5c1fa0; $custom-light: #9163bd; $custom-dark: #000000;
JSON
{
"hex": "#5c1fa0",
"rgb": {
"r": 92,
"g": 31,
"b": 160
},
"hsl": {
"h": 268.372,
"s": 67.539,
"l": 37.451
},
"oklch": {
"l": 0.41073,
"c": 0.18962,
"h": 298.9
},
"luminance": 0.05793
}Semantic roles & 50–950 ramp
primary
#5C1FA0
secondary
#90C358
accent
#EA3D99
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81