#56169F#56169F
#56169F is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.5% C 0.195 H 297.0°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).
Color values
| HEX | #56169F |
|---|---|
| RGB | rgb(86, 22, 159) |
| HSL | hsl(268, 76%, 35%) |
| HSV | hsv(268, 86%, 62%) |
| CMYK | cmyk(45.9%, 86.2%, 0%, 37.6%) |
| CIE-LAB | lab(26.89, 54.13, -60.69) |
| CIE-LCH | lch(26.89, 81.32, 311.73°) |
| OKLab | oklab(39.49% 0.0888 -0.174) |
| OKLCH | oklch(39.49% 0.195 297) |
| XYZ | xyz(10.3810, 5.0552, 33.2230) |
| Luminance | 0.0505 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.65
Indigo
#4B0082
ΔE00 5.22
Violet Blue
#510AC9
ΔE00 5.58
Rebeccapurple
#663399
ΔE00 6.25
Indigo (survey)
#380282
ΔE00 6.53
Ultramarine
#2000B1
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#56169F #5F9F16
analogous
#161A9F #56169F #9A169F
triadic
#56169F #9F5616 #169F56
tetradic
#56169F #9F161A #5F9F16 #169F9A
square
#56169F #9F161A #5F9F16 #169F9A
split-complementary
#56169F #9F9A16 #1A9F16
monochromatic
#1C0733 #390F69 #56169F #731DD5 #934AE6
Accessibility & contrast
On white
10.44
#56169F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#56169F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #56169F
10.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##56169F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##56169F | 1.00 | 10.44 | 2.01 | 10.44 |
| #FFFFFF | 10.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0040A3
Deuteranopia (green-blind)
#003E9D
Tritanopia (blue-blind)
#42405E
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #56169f; /* rgb */ color: rgb(86, 22, 159); /* oklch */ color: oklch(39.5% 0.195 297.0);
Tailwind
colors: {
custom: {
50: '#8e5ebd',
500: '#56169f',
950: '#000000',
},
}SCSS
$custom: #56169f; $custom-light: #8e5ebd; $custom-dark: #000000;
JSON
{
"hex": "#56169f",
"rgb": {
"r": 86,
"g": 22,
"b": 159
},
"hsl": {
"h": 268.029,
"s": 75.691,
"l": 35.49
},
"oklch": {
"l": 0.39493,
"c": 0.19534,
"h": 297
},
"luminance": 0.05055
}Semantic roles & 50–950 ramp
primary
#56169F
secondary
#8DC74A
accent
#F2369A
background
#F9F5FB
surface
#F2EAF7
border
#CCC6D0
text
#0D0512
muted
#7E7981