#563AB1#563AB1
#563AB1 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.2% C 0.179 H 287.8°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).
Color values
| HEX | #563AB1 |
|---|---|
| RGB | rgb(86, 58, 177) |
| HSL | hsl(254, 51%, 46%) |
| HSV | hsv(254, 67%, 69%) |
| CMYK | cmyk(51.4%, 67.2%, 0%, 30.6%) |
| CIE-LAB | lab(34.35, 42.45, -59.31) |
| CIE-LCH | lch(34.35, 72.94, 305.59°) |
| OKLab | oklab(45.24% 0.0548 -0.1702) |
| OKLCH | oklch(45.24% 0.179 287.8) |
| XYZ | xyz(13.2843, 8.1782, 42.4650) |
| Luminance | 0.0818 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 2.67
Blue With A Hint Of Purple
#533CC6
ΔE00 3.07
Blurple
#5539CC
ΔE00 3.73
Bluey Purple
#6241C7
ΔE00 4.01
Rebeccapurple
#663399
ΔE00 5.70
Blueberry
#464196
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#563AB1 #95B13A
analogous
#3A59B1 #563AB1 #913AB1
triadic
#563AB1 #B1563A #3AB156
tetradic
#563AB1 #B13A59 #95B13A #3AB191
square
#563AB1 #B13A59 #95B13A #3AB191
split-complementary
#563AB1 #B1913A #59B13A
monochromatic
#291C55 #402B83 #563AB1 #775ECA #9E8CD9
Accessibility & contrast
On white
7.97
#563AB1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#563AB1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #563AB1
7.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##563AB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##563AB1 | 1.00 | 7.97 | 2.64 | 7.97 |
| #FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053B5
Deuteranopia (green-blind)
#004EAF
Tritanopia (blue-blind)
#355870
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #563ab1; /* rgb */ color: rgb(86, 58, 177); /* oklch */ color: oklch(45.2% 0.179 287.8);
Tailwind
colors: {
custom: {
50: '#8e72c9',
500: '#563ab1',
950: '#000000',
},
}SCSS
$custom: #563ab1; $custom-light: #8e72c9; $custom-dark: #000000;
JSON
{
"hex": "#563ab1",
"rgb": {
"r": 86,
"g": 58,
"b": 177
},
"hsl": {
"h": 254.118,
"s": 50.638,
"l": 46.078
},
"oklch": {
"l": 0.45239,
"c": 0.1788,
"h": 287.8
},
"luminance": 0.08179
}Semantic roles & 50–950 ramp
primary
#563AB1
secondary
#B5C483
accent
#DA4EB9
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0813
muted
#7E7B82