#5C169F#5C169F
#5C169F is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.2% C 0.196 H 300.0°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).
Color values
| HEX | #5C169F |
|---|---|
| RGB | rgb(92, 22, 159) |
| HSL | hsl(271, 76%, 35%) |
| HSV | hsv(271, 86%, 62%) |
| CMYK | cmyk(42.1%, 86.2%, 0%, 37.6%) |
| CIE-LAB | lab(27.72, 54.92, -59.31) |
| CIE-LCH | lch(27.72, 80.83, 312.80°) |
| OKLab | oklab(40.24% 0.0982 -0.1697) |
| OKLCH | oklch(40.24% 0.196 300) |
| XYZ | xyz(10.9570, 5.3522, 33.2500) |
| Luminance | 0.0535 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 5.52
Indigo
#4B0082
ΔE00 5.54
Rebeccapurple
#663399
ΔE00 5.67
Violet Blue
#510AC9
ΔE00 5.85
Purple (survey)
#7E1E9C
ΔE00 6.84
Purple Blue
#5D21D0
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C169F #599F16
analogous
#17169F #5C169F #9F169D
triadic
#5C169F #9F5C16 #169F5C
tetradic
#5C169F #9F1716 #599F16 #169D9F
square
#5C169F #9F1716 #599F16 #169D9F
split-complementary
#5C169F #9D9F16 #169F17
monochromatic
#1E0733 #3D0F69 #5C169F #7B1DD5 #994AE6
Accessibility & contrast
On white
10.14
#5C169F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#5C169F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C169F
10.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C169F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C169F | 1.00 | 10.14 | 2.07 | 10.14 |
| #FFFFFF | 10.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0041A3
Deuteranopia (green-blind)
#00409D
Tritanopia (blue-blind)
#4C3F5E
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #5c169f; /* rgb */ color: rgb(92, 22, 159); /* oklch */ color: oklch(40.2% 0.196 300.0);
Tailwind
colors: {
custom: {
50: '#925fbc',
500: '#5c169f',
950: '#000000',
},
}SCSS
$custom: #5c169f; $custom-light: #925fbc; $custom-dark: #000000;
JSON
{
"hex": "#5c169f",
"rgb": {
"r": 92,
"g": 22,
"b": 159
},
"hsl": {
"h": 270.657,
"s": 75.691,
"l": 35.49
},
"oklch": {
"l": 0.40237,
"c": 0.19608,
"h": 300
},
"luminance": 0.05352
}Semantic roles & 50–950 ramp
primary
#5C169F
secondary
#87C74A
accent
#F23692
background
#F9F5FB
surface
#F2EAF7
border
#CCC6D0
text
#0E0512
muted
#7E7981