#5C169E#5C169E
#5C169E is a dark, vivid violet. Relative luminance 0.053; OKLCH L 40.1% C 0.195 H 300.3°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).
Color values
| HEX | #5C169E |
|---|---|
| RGB | rgb(92, 22, 158) |
| HSL | hsl(271, 76%, 35%) |
| HSV | hsv(271, 86%, 62%) |
| CMYK | cmyk(41.8%, 86.1%, 0%, 38%) |
| CIE-LAB | lab(27.62, 54.68, -58.86) |
| CIE-LCH | lch(27.62, 80.34, 312.89°) |
| OKLab | oklab(40.14% 0.0985 -0.1684) |
| OKLCH | oklch(40.14% 0.195 300.3) |
| XYZ | xyz(10.8705, 5.3176, 32.7948) |
| Luminance | 0.0532 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 5.43
Indigo Blue
#3A18B1
ΔE00 5.62
Rebeccapurple
#663399
ΔE00 5.65
Violet Blue
#510AC9
ΔE00 6.00
Purple (survey)
#7E1E9C
ΔE00 6.80
Indigo (survey)
#380282
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C169E #589E16
analogous
#18169E #5C169E #9E169C
triadic
#5C169E #9E5C16 #169E5C
tetradic
#5C169E #9E1816 #589E16 #169C9E
square
#5C169E #9E1816 #589E16 #169C9E
split-complementary
#5C169E #9C9E16 #169E18
monochromatic
#1D0733 #3D0F68 #5C169E #7B1DD4 #9A49E6
Accessibility & contrast
On white
10.18
#5C169E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#5C169E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C169E
10.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C169E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C169E | 1.00 | 10.18 | 2.06 | 10.18 |
| #FFFFFF | 10.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0041A2
Deuteranopia (green-blind)
#00409C
Tritanopia (blue-blind)
#4C3F5D
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #5c169e; /* rgb */ color: rgb(92, 22, 158); /* oklch */ color: oklch(40.1% 0.195 300.3);
Tailwind
colors: {
custom: {
50: '#915fbc',
500: '#5c169e',
950: '#000000',
},
}SCSS
$custom: #5c169e; $custom-light: #915fbc; $custom-dark: #000000;
JSON
{
"hex": "#5c169e",
"rgb": {
"r": 92,
"g": 22,
"b": 158
},
"hsl": {
"h": 270.882,
"s": 75.556,
"l": 35.294
},
"oklch": {
"l": 0.40143,
"c": 0.19512,
"h": 300.3
},
"luminance": 0.05318
}Semantic roles & 50–950 ramp
primary
#5C169E
secondary
#86C749
accent
#F23691
background
#F9F5FB
surface
#F2EAF6
border
#CCC6D0
text
#0E0512
muted
#7E7981