#56149E#56149E
#56149E is a dark, vivid violet. Relative luminance 0.049; OKLCH L 39.3% C 0.196 H 297.5°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).
Color values
| HEX | #56149E |
|---|---|
| RGB | rgb(86, 20, 158) |
| HSL | hsl(269, 78%, 35%) |
| HSV | hsv(269, 87%, 62%) |
| CMYK | cmyk(45.6%, 87.3%, 0%, 38%) |
| CIE-LAB | lab(26.58, 54.50, -60.59) |
| CIE-LCH | lch(26.58, 81.50, 311.97°) |
| OKLab | oklab(39.25% 0.0903 -0.1737) |
| OKLCH | oklch(39.25% 0.196 297.5) |
| XYZ | xyz(10.2578, 4.9472, 32.7556) |
| Luminance | 0.0495 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.77
Indigo
#4B0082
ΔE00 4.97
Violet Blue
#510AC9
ΔE00 5.73
Indigo (survey)
#380282
ΔE00 6.33
Rebeccapurple
#663399
ΔE00 6.43
Ultramarine
#2000B1
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#56149E #5C9E14
analogous
#14179E #56149E #9B149E
triadic
#56149E #9E5614 #149E56
tetradic
#56149E #9E1417 #5C9E14 #149E9B
square
#56149E #9E1417 #5C9E14 #149E9B
split-complementary
#56149E #9E9B14 #179E14
monochromatic
#1B0631 #380D68 #56149E #741BD4 #9345E7
Accessibility & contrast
On white
10.56
#56149E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#56149E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #56149E
10.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##56149E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##56149E | 1.00 | 10.56 | 1.99 | 10.56 |
| #FFFFFF | 10.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003FA2
Deuteranopia (green-blind)
#003D9C
Tritanopia (blue-blind)
#423F5D
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #56149e; /* rgb */ color: rgb(86, 20, 158); /* oklch */ color: oklch(39.3% 0.196 297.5);
Tailwind
colors: {
custom: {
50: '#8e5ebc',
500: '#56149e',
950: '#000000',
},
}SCSS
$custom: #56149e; $custom-light: #8e5ebc; $custom-dark: #000000;
JSON
{
"hex": "#56149e",
"rgb": {
"r": 86,
"g": 20,
"b": 158
},
"hsl": {
"h": 268.696,
"s": 77.528,
"l": 34.902
},
"oklch": {
"l": 0.39253,
"c": 0.19576,
"h": 297.5
},
"luminance": 0.04947
}Semantic roles & 50–950 ramp
primary
#56149E
secondary
#8AC846
accent
#F43498
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0512
muted
#7E7981