#55159E#55159E
#55159E is a dark, vivid violet. Relative luminance 0.049; OKLCH L 39.2% C 0.195 H 296.9°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).
Color values
| HEX | #55159E |
|---|---|
| RGB | rgb(85, 21, 158) |
| HSL | hsl(268, 77%, 35%) |
| HSV | hsv(268, 87%, 62%) |
| CMYK | cmyk(46.2%, 86.7%, 0%, 38%) |
| CIE-LAB | lab(26.55, 54.07, -60.65) |
| CIE-LCH | lch(26.55, 81.25, 311.72°) |
| OKLab | oklab(39.2% 0.0882 -0.1739) |
| OKLCH | oklch(39.2% 0.195 296.9) |
| XYZ | xyz(10.1844, 4.9360, 32.7573) |
| Luminance | 0.0494 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.62
Indigo
#4B0082
ΔE00 4.99
Violet Blue
#510AC9
ΔE00 5.69
Indigo (survey)
#380282
ΔE00 6.28
Rebeccapurple
#663399
ΔE00 6.43
Ultramarine
#2000B1
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#55159E #5E9E15
analogous
#151A9E #55159E #99159E
triadic
#55159E #9E5515 #159E55
tetradic
#55159E #9E151A #5E9E15 #159E99
square
#55159E #9E151A #5E9E15 #159E99
split-complementary
#55159E #9E9915 #1A9E15
monochromatic
#1B0732 #380E68 #55159E #721CD4 #9147E7
Accessibility & contrast
On white
10.57
#55159E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#55159E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #55159E
10.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##55159E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##55159E | 1.00 | 10.57 | 1.99 | 10.57 |
| #FFFFFF | 10.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003FA2
Deuteranopia (green-blind)
#003D9C
Tritanopia (blue-blind)
#413F5D
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #55159e; /* rgb */ color: rgb(85, 21, 158); /* oklch */ color: oklch(39.2% 0.195 296.9);
Tailwind
colors: {
custom: {
50: '#8d5ebc',
500: '#55159e',
950: '#000000',
},
}SCSS
$custom: #55159e; $custom-light: #8d5ebc; $custom-dark: #000000;
JSON
{
"hex": "#55159e",
"rgb": {
"r": 85,
"g": 21,
"b": 158
},
"hsl": {
"h": 268.029,
"s": 76.536,
"l": 35.098
},
"oklch": {
"l": 0.39201,
"c": 0.19496,
"h": 296.9
},
"luminance": 0.04936
}Semantic roles & 50–950 ramp
primary
#55159E
secondary
#8CC747
accent
#F3359A
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0512
muted
#7E7981