#563AB3#563AB3
#563AB3 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.4% C 0.181 H 287.5°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).
Color values
| HEX | #563AB3 |
|---|---|
| RGB | rgb(86, 58, 179) |
| HSL | hsl(254, 51%, 46%) |
| HSV | hsv(254, 68%, 70%) |
| CMYK | cmyk(52%, 67.6%, 0%, 29.8%) |
| CIE-LAB | lab(34.52, 43.04, -60.23) |
| CIE-LCH | lch(34.52, 74.03, 305.55°) |
| OKLab | oklab(45.41% 0.0545 -0.1729) |
| OKLCH | oklch(45.41% 0.181 287.5) |
| XYZ | xyz(13.4851, 8.2586, 43.5226) |
| Luminance | 0.0826 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 2.60
Blue With A Hint Of Purple
#533CC6
ΔE00 2.79
Blurple
#5539CC
ΔE00 3.44
Bluey Purple
#6241C7
ΔE00 3.79
Purple Blue
#5D21D0
ΔE00 5.64
Rebeccapurple
#663399
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#563AB3 #97B33A
analogous
#3A5BB3 #563AB3 #933AB3
triadic
#563AB3 #B3563A #3AB356
tetradic
#563AB3 #B33A5B #97B33A #3AB393
square
#563AB3 #B33A5B #97B33A #3AB393
split-complementary
#563AB3 #B3933A #5BB33A
monochromatic
#2A1C57 #402B85 #563AB3 #785FCB #9F8DDA
Accessibility & contrast
On white
7.92
#563AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#563AB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #563AB3
7.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##563AB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##563AB3 | 1.00 | 7.92 | 2.65 | 7.92 |
| #FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054B7
Deuteranopia (green-blind)
#004EB1
Tritanopia (blue-blind)
#335871
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #563ab3; /* rgb */ color: rgb(86, 58, 179); /* oklch */ color: oklch(45.4% 0.181 287.5);
Tailwind
colors: {
custom: {
50: '#8e72cb',
500: '#563ab3',
950: '#000000',
},
}SCSS
$custom: #563ab3; $custom-light: #8e72cb; $custom-dark: #000000;
JSON
{
"hex": "#563ab3",
"rgb": {
"r": 86,
"g": 58,
"b": 179
},
"hsl": {
"h": 253.884,
"s": 51.055,
"l": 46.471
},
"oklch": {
"l": 0.45408,
"c": 0.18128,
"h": 287.5
},
"luminance": 0.08259
}Semantic roles & 50–950 ramp
primary
#563AB3
secondary
#B6C584
accent
#DB4DBA
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0813
muted
#7E7B82