#5F169F#5F169F
#5F169F is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.6% C 0.197 H 301.5°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).
Color values
| HEX | #5F169F |
|---|---|
| RGB | rgb(95, 22, 159) |
| HSL | hsl(272, 76%, 35%) |
| HSV | hsv(272, 86%, 62%) |
| CMYK | cmyk(40.3%, 86.2%, 0%, 37.6%) |
| CIE-LAB | lab(28.14, 55.33, -58.60) |
| CIE-LCH | lch(28.14, 80.59, 313.36°) |
| OKLab | oklab(40.62% 0.1028 -0.1675) |
| OKLCH | oklch(40.62% 0.197 301.5) |
| XYZ | xyz(11.2627, 5.5098, 33.2643) |
| Luminance | 0.0551 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 5.42
Indigo
#4B0082
ΔE00 5.77
Indigo Blue
#3A18B1
ΔE00 5.99
Violet Blue
#510AC9
ΔE00 6.06
Purple (survey)
#7E1E9C
ΔE00 6.32
Purple Blue
#5D21D0
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F169F #569F16
analogous
#1A169F #5F169F #9F169A
triadic
#5F169F #9F5F16 #169F5F
tetradic
#5F169F #9F1A16 #569F16 #169A9F
square
#5F169F #9F1A16 #569F16 #169A9F
split-complementary
#5F169F #9A9F16 #169F1A
monochromatic
#1F0733 #3F0F69 #5F169F #7F1DD5 #9D4AE6
Accessibility & contrast
On white
9.99
#5F169F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#5F169F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F169F
9.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F169F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F169F | 1.00 | 9.99 | 2.10 | 9.99 |
| #FFFFFF | 9.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042A3
Deuteranopia (green-blind)
#00429D
Tritanopia (blue-blind)
#503F5E
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #5f169f; /* rgb */ color: rgb(95, 22, 159); /* oklch */ color: oklch(40.6% 0.197 301.5);
Tailwind
colors: {
custom: {
50: '#9360bc',
500: '#5f169f',
950: '#000000',
},
}SCSS
$custom: #5f169f; $custom-light: #9360bc; $custom-dark: #000000;
JSON
{
"hex": "#5f169f",
"rgb": {
"r": 95,
"g": 22,
"b": 159
},
"hsl": {
"h": 271.971,
"s": 75.691,
"l": 35.49
},
"oklch": {
"l": 0.4062,
"c": 0.19656,
"h": 301.5
},
"luminance": 0.0551
}Semantic roles & 50–950 ramp
primary
#5F169F
secondary
#84C74A
accent
#F2368E
background
#F9F5FB
surface
#F2EAF7
border
#CCC6D0
text
#0E0512
muted
#7E7981