#573A7B#573A7B
#573A7B is a dark, moderate violet. Relative luminance 0.065; OKLCH L 41.3% C 0.108 H 302.5°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).
Color values
| HEX | #573A7B |
|---|---|
| RGB | rgb(87, 58, 123) |
| HSL | hsl(267, 36%, 35%) |
| HSV | hsv(267, 53%, 48%) |
| CMYK | cmyk(29.3%, 52.8%, 0%, 51.8%) |
| CIE-LAB | lab(30.60, 27.19, -32.41) |
| CIE-LCH | lch(30.60, 42.31, 309.99°) |
| OKLab | oklab(41.3% 0.0581 -0.0912) |
| OKLCH | oklch(41.3% 0.108 302.5) |
| XYZ | xyz(9.0179, 6.4824, 19.5112) |
| Luminance | 0.0648 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.69
Rebeccapurple
#663399
ΔE00 6.55
Blueberry
#464196
ΔE00 7.75
Twilight
#4E518B
ΔE00 9.37
Grape
#6C3461
ΔE00 10.19
Darkish Purple
#751973
ΔE00 10.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#573A7B #5E7B3A
analogous
#3A3D7B #573A7B #773A7B
triadic
#573A7B #7B573A #3A7B57
tetradic
#573A7B #7B3A3D #5E7B3A #3A7B77
square
#573A7B #7B3A3D #5E7B3A #3A7B77
split-complementary
#573A7B #7B773A #3D7B3A
monochromatic
#1C1328 #3A2651 #573A7B #744EA5 #9473BD
Accessibility & contrast
On white
9.14
#573A7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#573A7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #573A7B
9.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##573A7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##573A7B | 1.00 | 9.14 | 2.30 | 9.14 |
| #FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25477D
Deuteranopia (green-blind)
#2D4879
Tritanopia (blue-blind)
#504655
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #573a7b; /* rgb */ color: rgb(87, 58, 123); /* oklch */ color: oklch(41.3% 0.108 302.5);
Tailwind
colors: {
custom: {
50: '#8871a1',
500: '#573a7b',
950: '#000000',
},
}SCSS
$custom: #573a7b; $custom-light: #8871a1; $custom-dark: #000000;
JSON
{
"hex": "#573a7b",
"rgb": {
"r": 87,
"g": 58,
"b": 123
},
"hsl": {
"h": 266.769,
"s": 35.912,
"l": 35.49
},
"oklch": {
"l": 0.41297,
"c": 0.10812,
"h": 302.5
},
"luminance": 0.06482
}Semantic roles & 50–950 ramp
primary
#573A7B
secondary
#8CA66B
accent
#CC5C9A
background
#F8F6FA
surface
#F0ECF3
border
#CBC7CD
text
#0C070F
muted
#7D7A7F