#573AB2#573AB2
#573AB2 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.4% C 0.180 H 288.2°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).
Color values
| HEX | #573AB2 |
|---|---|
| RGB | rgb(87, 58, 178) |
| HSL | hsl(255, 51%, 46%) |
| HSV | hsv(255, 67%, 70%) |
| CMYK | cmyk(51.1%, 67.4%, 0%, 30.2%) |
| CIE-LAB | lab(34.53, 42.92, -59.61) |
| CIE-LCH | lch(34.53, 73.45, 305.76°) |
| OKLab | oklab(45.42% 0.0561 -0.171) |
| OKLCH | oklch(45.42% 0.18 288.2) |
| XYZ | xyz(13.4771, 8.2661, 42.9962) |
| Luminance | 0.0827 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 2.73
Blue With A Hint Of Purple
#533CC6
ΔE00 2.97
Blurple
#5539CC
ΔE00 3.60
Bluey Purple
#6241C7
ΔE00 3.84
Rebeccapurple
#663399
ΔE00 5.69
Purple Blue
#5D21D0
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#573AB2 #95B23A
analogous
#3A59B2 #573AB2 #933AB2
triadic
#573AB2 #B2573A #3AB257
tetradic
#573AB2 #B23A59 #95B23A #3AB293
square
#573AB2 #B23A59 #95B23A #3AB293
split-complementary
#573AB2 #B2933A #59B23A
monochromatic
#2A1C56 #402B84 #573AB2 #795FCB #9F8DDA
Accessibility & contrast
On white
7.91
#573AB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#573AB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #573AB2
7.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##573AB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##573AB2 | 1.00 | 7.91 | 2.65 | 7.91 |
| #FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054B6
Deuteranopia (green-blind)
#004EB0
Tritanopia (blue-blind)
#365871
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #573ab2; /* rgb */ color: rgb(87, 58, 178); /* oklch */ color: oklch(45.4% 0.180 288.2);
Tailwind
colors: {
custom: {
50: '#8f72ca',
500: '#573ab2',
950: '#000000',
},
}SCSS
$custom: #573ab2; $custom-light: #8f72ca; $custom-dark: #000000;
JSON
{
"hex": "#573ab2",
"rgb": {
"r": 87,
"g": 58,
"b": 178
},
"hsl": {
"h": 254.5,
"s": 50.847,
"l": 46.275
},
"oklch": {
"l": 0.45417,
"c": 0.17999,
"h": 288.2
},
"luminance": 0.08267
}Semantic roles & 50–950 ramp
primary
#573AB2
secondary
#B5C483
accent
#DA4DB8
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0D0813
muted
#7E7B82