#5C1A9F#5C1A9F
#5C1A9F is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.5% C 0.193 H 299.7°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).
Color values
| HEX | #5C1A9F |
|---|---|
| RGB | rgb(92, 26, 159) |
| HSL | hsl(270, 72%, 36%) |
| HSV | hsv(270, 84%, 62%) |
| CMYK | cmyk(42.1%, 83.6%, 0%, 37.6%) |
| CIE-LAB | lab(28.16, 53.61, -58.58) |
| CIE-LCH | lch(28.16, 79.41, 312.46°) |
| OKLab | oklab(40.54% 0.0956 -0.1676) |
| OKLCH | oklch(40.54% 0.193 299.7) |
| XYZ | xyz(11.0394, 5.5172, 33.2775) |
| Luminance | 0.0552 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 5.23
Indigo Blue
#3A18B1
ΔE00 5.55
Indigo
#4B0082
ΔE00 5.83
Violet Blue
#510AC9
ΔE00 5.90
Purple (survey)
#7E1E9C
ΔE00 6.72
Purple Blue
#5D21D0
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C1A9F #5D9F1A
analogous
#1A1B9F #5C1A9F #9F1A9F
triadic
#5C1A9F #9F5C1A #1A9F5C
tetradic
#5C1A9F #9F1A1B #5D9F1A #1A9F9F
square
#5C1A9F #9F1A1B #5D9F1A #1A9F9F
split-complementary
#5C1A9F #9F9F1A #1B9F1A
monochromatic
#1F0936 #3E116A #5C1A9F #7A23D4 #9951E3
Accessibility & contrast
On white
9.98
#5C1A9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#5C1A9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C1A9F
9.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C1A9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C1A9F | 1.00 | 9.98 | 2.10 | 9.98 |
| #FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042A3
Deuteranopia (green-blind)
#00419D
Tritanopia (blue-blind)
#4C415E
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #5c1a9f; /* rgb */ color: rgb(92, 26, 159); /* oklch */ color: oklch(40.5% 0.193 299.7);
Tailwind
colors: {
custom: {
50: '#9161bc',
500: '#5c1a9f',
950: '#000000',
},
}SCSS
$custom: #5c1a9f; $custom-light: #9161bc; $custom-dark: #000000;
JSON
{
"hex": "#5c1a9f",
"rgb": {
"r": 92,
"g": 26,
"b": 159
},
"hsl": {
"h": 269.774,
"s": 71.892,
"l": 36.275
},
"oklch": {
"l": 0.40543,
"c": 0.19299,
"h": 299.7
},
"luminance": 0.05517
}Semantic roles & 50–950 ramp
primary
#5C1A9F
secondary
#8BC550
accent
#EF3995
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0512
muted
#7E7A81