#573F71#573F71
#573F71 is a dark, moderate violet. Relative luminance 0.068; OKLCH L 41.6% C 0.085 H 305.1°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).
Color values
| HEX | #573F71 |
|---|---|
| RGB | rgb(87, 63, 113) |
| HSL | hsl(269, 28%, 35%) |
| HSV | hsv(269, 44%, 44%) |
| CMYK | cmyk(23%, 44.2%, 0%, 55.7%) |
| CIE-LAB | lab(31.29, 21.41, -25.03) |
| CIE-LCH | lch(31.29, 32.94, 310.54°) |
| OKLab | oklab(41.63% 0.049 -0.0697) |
| OKLCH | oklch(41.63% 0.085 305.1) |
| XYZ | xyz(8.6880, 6.7735, 16.4693) |
| Luminance | 0.0677 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 8.09
Grape
#6C3461
ΔE00 8.86
Twilight
#4E518B
ΔE00 9.33
Rebeccapurple
#663399
ΔE00 9.72
Dusk
#4E5481
ΔE00 9.79
Blueberry
#464196
ΔE00 9.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#573F71 #59713F
analogous
#3F4071 #573F71 #703F71
triadic
#573F71 #71573F #3F7157
tetradic
#573F71 #713F40 #59713F #3F7170
square
#573F71 #713F40 #59713F #3F7170
split-complementary
#573F71 #71703F #40713F
monochromatic
#1A1322 #39294A #573F71 #755598 #9477B3
Accessibility & contrast
On white
8.92
#573F71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#573F71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #573F71
8.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##573F71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##573F71 | 1.00 | 8.92 | 2.35 | 8.92 |
| #FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#334973
Deuteranopia (green-blind)
#384A70
Tritanopia (blue-blind)
#534752
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #573f71; /* rgb */ color: rgb(87, 63, 113); /* oklch */ color: oklch(41.6% 0.085 305.1);
Tailwind
colors: {
custom: {
50: '#87749a',
500: '#573f71',
950: '#000000',
},
}SCSS
$custom: #573f71; $custom-light: #87749a; $custom-dark: #000000;
JSON
{
"hex": "#573f71",
"rgb": {
"r": 87,
"g": 63,
"b": 113
},
"hsl": {
"h": 268.8,
"s": 28.409,
"l": 34.51
},
"oklch": {
"l": 0.41629,
"c": 0.08521,
"h": 305.1
},
"luminance": 0.06774
}Semantic roles & 50–950 ramp
primary
#573F71
secondary
#879E6E
accent
#C56396
background
#F8F7F9
surface
#F0EDF2
border
#CBC8CC
text
#0B080E
muted
#7C7B7E