#56199E#56199E
#56199E is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.6% C 0.192 H 297.0°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).
Color values
| HEX | #56199E |
|---|---|
| RGB | rgb(86, 25, 158) |
| HSL | hsl(268, 73%, 36%) |
| HSV | hsv(268, 84%, 62%) |
| CMYK | cmyk(45.6%, 84.2%, 0%, 38%) |
| CIE-LAB | lab(27.14, 52.88, -59.68) |
| CIE-LCH | lch(27.14, 79.74, 311.54°) |
| OKLab | oklab(39.63% 0.0873 -0.1711) |
| OKLCH | oklch(39.63% 0.192 297) |
| XYZ | xyz(10.3553, 5.1421, 32.7881) |
| Luminance | 0.0514 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.75
Indigo
#4B0082
ΔE00 5.33
Violet Blue
#510AC9
ΔE00 5.74
Rebeccapurple
#663399
ΔE00 5.91
Indigo (survey)
#380282
ΔE00 6.65
Ultramarine
#2000B1
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#56199E #619E19
analogous
#191E9E #56199E #98199E
triadic
#56199E #9E5619 #199E56
tetradic
#56199E #9E191E #619E19 #199E98
square
#56199E #9E191E #619E19 #199E98
split-complementary
#56199E #9E9819 #1E9E19
monochromatic
#1C0834 #391169 #56199E #7321D3 #934EE3
Accessibility & contrast
On white
10.35
#56199E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#56199E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #56199E
10.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##56199E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##56199E | 1.00 | 10.35 | 2.03 | 10.35 |
| #FFFFFF | 10.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0041A2
Deuteranopia (green-blind)
#003E9C
Tritanopia (blue-blind)
#42415E
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #56199e; /* rgb */ color: rgb(86, 25, 158); /* oklch */ color: oklch(39.6% 0.192 297.0);
Tailwind
colors: {
custom: {
50: '#8e5fbc',
500: '#56199e',
950: '#000000',
},
}SCSS
$custom: #56199e; $custom-light: #8e5fbc; $custom-dark: #000000;
JSON
{
"hex": "#56199e",
"rgb": {
"r": 86,
"g": 25,
"b": 158
},
"hsl": {
"h": 267.519,
"s": 72.678,
"l": 35.882
},
"oklch": {
"l": 0.39632,
"c": 0.19206,
"h": 297
},
"luminance": 0.05142
}Semantic roles & 50–950 ramp
primary
#56199E
secondary
#8EC54E
accent
#EF389B
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0512
muted
#7E7981