#5B169F#5B169F
#5B169F is a dark, vivid violet. Relative luminance 0.053; OKLCH L 40.1% C 0.196 H 299.5°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).
Color values
| HEX | #5B169F |
|---|---|
| RGB | rgb(91, 22, 159) |
| HSL | hsl(270, 76%, 35%) |
| HSV | hsv(270, 86%, 62%) |
| CMYK | cmyk(42.8%, 86.2%, 0%, 37.6%) |
| CIE-LAB | lab(27.58, 54.78, -59.54) |
| CIE-LCH | lch(27.58, 80.91, 312.61°) |
| OKLab | oklab(40.11% 0.0966 -0.1705) |
| OKLCH | oklch(40.11% 0.196 299.5) |
| XYZ | xyz(10.8577, 5.3010, 33.2453) |
| Luminance | 0.0530 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 5.37
Indigo
#4B0082
ΔE00 5.48
Rebeccapurple
#663399
ΔE00 5.76
Violet Blue
#510AC9
ΔE00 5.80
Purple (survey)
#7E1E9C
ΔE00 7.01
Indigo (survey)
#380282
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B169F #5A9F16
analogous
#16169F #5B169F #9F169E
triadic
#5B169F #9F5B16 #169F5B
tetradic
#5B169F #9F1616 #5A9F16 #169E9F
square
#5B169F #9F1616 #5A9F16 #169E9F
split-complementary
#5B169F #9E9F16 #169F16
monochromatic
#1D0733 #3C0F69 #5B169F #7A1DD5 #984AE6
Accessibility & contrast
On white
10.19
#5B169F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#5B169F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B169F
10.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B169F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B169F | 1.00 | 10.19 | 2.06 | 10.19 |
| #FFFFFF | 10.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0041A3
Deuteranopia (green-blind)
#00409D
Tritanopia (blue-blind)
#4A3F5E
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #5b169f; /* rgb */ color: rgb(91, 22, 159); /* oklch */ color: oklch(40.1% 0.196 299.5);
Tailwind
colors: {
custom: {
50: '#915fbc',
500: '#5b169f',
950: '#000000',
},
}SCSS
$custom: #5b169f; $custom-light: #915fbc; $custom-dark: #000000;
JSON
{
"hex": "#5b169f",
"rgb": {
"r": 91,
"g": 22,
"b": 159
},
"hsl": {
"h": 270.219,
"s": 75.691,
"l": 35.49
},
"oklch": {
"l": 0.40111,
"c": 0.19595,
"h": 299.5
},
"luminance": 0.05301
}Semantic roles & 50–950 ramp
primary
#5B169F
secondary
#88C74A
accent
#F23693
background
#F9F5FB
surface
#F2EAF7
border
#CCC6D0
text
#0E0512
muted
#7E7981