#5C1AA1#5C1AA1
#5C1AA1 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.7% C 0.195 H 299.1°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).
Color values
| HEX | #5C1AA1 |
|---|---|
| RGB | rgb(92, 26, 161) |
| HSL | hsl(269, 72%, 37%) |
| HSV | hsv(269, 84%, 63%) |
| CMYK | cmyk(42.9%, 83.9%, 0%, 36.9%) |
| CIE-LAB | lab(28.35, 54.09, -59.49) |
| CIE-LCH | lch(28.35, 80.40, 312.28°) |
| OKLab | oklab(40.73% 0.0949 -0.1703) |
| OKLCH | oklch(40.73% 0.195 299.1) |
| XYZ | xyz(11.2144, 5.5871, 34.1989) |
| Luminance | 0.0559 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 5.30
Indigo Blue
#3A18B1
ΔE00 5.38
Violet Blue
#510AC9
ΔE00 5.61
Indigo
#4B0082
ΔE00 6.05
Purple Blue
#5D21D0
ΔE00 6.67
Purple (survey)
#7E1E9C
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C1AA1 #5FA11A
analogous
#1A1CA1 #5C1AA1 #A01AA1
triadic
#5C1AA1 #A15C1A #1AA15C
tetradic
#5C1AA1 #A11A1C #5FA11A #1AA1A0
square
#5C1AA1 #A11A1C #5FA11A #1AA1A0
split-complementary
#5C1AA1 #A1A01A #1CA11A
monochromatic
#200938 #3E116C #5C1AA1 #7A23D6 #9952E3
Accessibility & contrast
On white
9.92
#5C1AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#5C1AA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C1AA1
9.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C1AA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C1AA1 | 1.00 | 9.92 | 2.12 | 9.92 |
| #FFFFFF | 9.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A5
Deuteranopia (green-blind)
#00429F
Tritanopia (blue-blind)
#4B4260
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #5c1aa1; /* rgb */ color: rgb(92, 26, 161); /* oklch */ color: oklch(40.7% 0.195 299.1);
Tailwind
colors: {
custom: {
50: '#9261be',
500: '#5c1aa1',
950: '#000000',
},
}SCSS
$custom: #5c1aa1; $custom-light: #9261be; $custom-dark: #000000;
JSON
{
"hex": "#5c1aa1",
"rgb": {
"r": 92,
"g": 26,
"b": 161
},
"hsl": {
"h": 269.333,
"s": 72.193,
"l": 36.667
},
"oklch": {
"l": 0.40728,
"c": 0.19498,
"h": 299.1
},
"luminance": 0.05587
}Semantic roles & 50–950 ramp
primary
#5C1AA1
secondary
#8DC651
accent
#EF3996
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0512
muted
#7E7A81