#563E81#563E81
#563E81 is a dark, moderate violet. Relative luminance 0.070; OKLCH L 42.3% C 0.109 H 298.1°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).
Color values
| HEX | #563E81 |
|---|---|
| RGB | rgb(86, 62, 129) |
| HSL | hsl(261, 35%, 37%) |
| HSV | hsv(261, 52%, 51%) |
| CMYK | cmyk(33.3%, 51.9%, 0%, 49.4%) |
| CIE-LAB | lab(31.83, 26.07, -34.21) |
| CIE-LCH | lch(31.83, 43.01, 307.31°) |
| OKLab | oklab(42.3% 0.0515 -0.0964) |
| OKLCH | oklch(42.3% 0.109 298.1) |
| XYZ | xyz(9.5219, 7.0086, 21.6158) |
| Luminance | 0.0701 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.35
Blueberry
#464196
ΔE00 6.24
Rebeccapurple
#663399
ΔE00 6.41
Twilight
#4E518B
ΔE00 7.75
Dusk
#4E5481
ΔE00 9.25
Ocean Blue
#4F42B5
ΔE00 9.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#563E81 #69813E
analogous
#3E4781 #563E81 #783E81
triadic
#563E81 #81563E #3E8156
tetradic
#563E81 #813E47 #69813E #3E8178
square
#563E81 #813E47 #69813E #3E8178
split-complementary
#563E81 #81783E #47813E
monochromatic
#1F162E #3A2A58 #563E81 #7252AA #937ABF
Accessibility & contrast
On white
8.74
#563E81 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#563E81 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #563E81
8.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##563E81 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##563E81 | 1.00 | 8.74 | 2.40 | 8.74 |
| #FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#274B83
Deuteranopia (green-blind)
#2C4A7F
Tritanopia (blue-blind)
#4D4B59
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #563e81; /* rgb */ color: rgb(86, 62, 129); /* oklch */ color: oklch(42.3% 0.109 298.1);
Tailwind
colors: {
custom: {
50: '#8874a6',
500: '#563e81',
950: '#000000',
},
}SCSS
$custom: #563e81; $custom-light: #8874a6; $custom-dark: #000000;
JSON
{
"hex": "#563e81",
"rgb": {
"r": 86,
"g": 62,
"b": 129
},
"hsl": {
"h": 261.493,
"s": 35.079,
"l": 37.451
},
"oklch": {
"l": 0.42302,
"c": 0.10935,
"h": 298.1
},
"luminance": 0.07009
}Semantic roles & 50–950 ramp
primary
#563E81
secondary
#95A972
accent
#CB5DA4
background
#F8F7FA
surface
#F0EDF4
border
#CBC8CE
text
#0C080F
muted
#7D7B7F