#563F86#563F86
#563F86 is a dark, moderate violet. Relative luminance 0.073; OKLCH L 42.8% C 0.115 H 296.2°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).
Color values
| HEX | #563F86 |
|---|---|
| RGB | rgb(86, 63, 134) |
| HSL | hsl(259, 36%, 39%) |
| HSV | hsv(259, 53%, 53%) |
| CMYK | cmyk(35.8%, 53%, 0%, 47.5%) |
| CIE-LAB | lab(32.38, 26.86, -36.43) |
| CIE-LCH | lch(32.38, 45.26, 306.40°) |
| OKLab | oklab(42.81% 0.0506 -0.1029) |
| OKLCH | oklch(42.81% 0.115 296.2) |
| XYZ | xyz(9.9173, 7.2545, 23.4274) |
| Luminance | 0.0726 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 3.60
Blueberry
#464196
ΔE00 5.32
Rebeccapurple
#663399
ΔE00 5.96
Twilight
#4E518B
ΔE00 7.28
Ocean Blue
#4F42B5
ΔE00 8.53
Dusk
#4E5481
ΔE00 9.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#563F86 #6F863F
analogous
#3F4B86 #563F86 #793F86
triadic
#563F86 #86563F #3F8656
tetradic
#563F86 #863F4B #6F863F #3F8679
square
#563F86 #863F4B #6F863F #3F8679
split-complementary
#563F86 #86793F #4B863F
monochromatic
#211833 #3B2B5C #563F86 #7154AE #947DC2
Accessibility & contrast
On white
8.57
#563F86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#563F86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #563F86
8.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##563F86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##563F86 | 1.00 | 8.57 | 2.45 | 8.57 |
| #FFFFFF | 8.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#244D88
Deuteranopia (green-blind)
#294B84
Tritanopia (blue-blind)
#4B4D5C
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #563f86; /* rgb */ color: rgb(86, 63, 134); /* oklch */ color: oklch(42.8% 0.115 296.2);
Tailwind
colors: {
custom: {
50: '#8874aa',
500: '#563f86',
950: '#000000',
},
}SCSS
$custom: #563f86; $custom-light: #8874aa; $custom-dark: #000000;
JSON
{
"hex": "#563f86",
"rgb": {
"r": 86,
"g": 63,
"b": 134
},
"hsl": {
"h": 259.437,
"s": 36.041,
"l": 38.627
},
"oklch": {
"l": 0.42813,
"c": 0.1147,
"h": 296.2
},
"luminance": 0.07255
}Semantic roles & 50–950 ramp
primary
#563F86
secondary
#9AAC74
accent
#CC5CA8
background
#F8F7FA
surface
#F0EDF4
border
#CBC8CE
text
#0C0810
muted
#7D7B7F