#56199C#56199C
#56199C is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.4% C 0.190 H 297.6°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).
Color values
| HEX | #56199C |
|---|---|
| RGB | rgb(86, 25, 156) |
| HSL | hsl(268, 72%, 35%) |
| HSV | hsv(268, 84%, 61%) |
| CMYK | cmyk(44.9%, 84%, 0%, 38.8%) |
| CIE-LAB | lab(26.94, 52.38, -58.78) |
| CIE-LCH | lch(26.94, 78.73, 311.71°) |
| OKLab | oklab(39.44% 0.088 -0.1684) |
| OKLCH | oklch(39.44% 0.19 297.6) |
| XYZ | xyz(10.1846, 5.0738, 31.8888) |
| Luminance | 0.0507 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.97
Indigo
#4B0082
ΔE00 5.10
Rebeccapurple
#663399
ΔE00 5.87
Violet Blue
#510AC9
ΔE00 6.03
Indigo (survey)
#380282
ΔE00 6.50
Ultramarine
#2000B1
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#56199C #5F9C19
analogous
#191D9C #56199C #97199C
triadic
#56199C #9C5619 #199C56
tetradic
#56199C #9C191D #5F9C19 #199C97
square
#56199C #9C191D #5F9C19 #199C97
split-complementary
#56199C #9C9719 #1D9C19
monochromatic
#1C0833 #391167 #56199C #7321D1 #934DE2
Accessibility & contrast
On white
10.42
#56199C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#56199C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #56199C
10.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##56199C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##56199C | 1.00 | 10.42 | 2.01 | 10.42 |
| #FFFFFF | 10.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00409F
Deuteranopia (green-blind)
#003E9A
Tritanopia (blue-blind)
#43405C
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #56199c; /* rgb */ color: rgb(86, 25, 156); /* oklch */ color: oklch(39.4% 0.190 297.6);
Tailwind
colors: {
custom: {
50: '#8d5fba',
500: '#56199c',
950: '#000000',
},
}SCSS
$custom: #56199c; $custom-light: #8d5fba; $custom-dark: #000000;
JSON
{
"hex": "#56199c",
"rgb": {
"r": 86,
"g": 25,
"b": 156
},
"hsl": {
"h": 267.939,
"s": 72.376,
"l": 35.49
},
"oklch": {
"l": 0.39441,
"c": 0.19002,
"h": 297.6
},
"luminance": 0.05074
}Semantic roles & 50–950 ramp
primary
#56199C
secondary
#8DC44C
accent
#EF399A
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0512
muted
#7E7981