#574271#574271
#574271 is a dark, moderate violet. Relative luminance 0.071; OKLCH L 42.2% C 0.080 H 303.8°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).
Color values
| HEX | #574271 |
|---|---|
| RGB | rgb(87, 66, 113) |
| HSL | hsl(267, 26%, 35%) |
| HSV | hsv(267, 42%, 44%) |
| CMYK | cmyk(23%, 41.6%, 0%, 55.7%) |
| CIE-LAB | lab(32.07, 19.51, -23.81) |
| CIE-LCH | lch(32.07, 30.78, 309.33°) |
| OKLab | oklab(42.22% 0.0442 -0.0662) |
| OKLCH | oklch(42.22% 0.08 303.8) |
| XYZ | xyz(8.8587, 7.1149, 16.5262) |
| Luminance | 0.0712 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 8.46
Twilight
#4E518B
ΔE00 8.79
Dusk
#4E5481
ΔE00 8.98
Grape
#6C3461
ΔE00 9.33
Blueberry
#464196
ΔE00 10.21
Bruise
#7E4071
ΔE00 10.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#574271 #5C7142
analogous
#424471 #574271 #6F4271
triadic
#574271 #715742 #427157
tetradic
#574271 #714244 #5C7142 #42716F
square
#574271 #714244 #5C7142 #42716F
split-complementary
#574271 #716F42 #447142
monochromatic
#1C1524 #392B4A #574271 #755998 #947BB2
Accessibility & contrast
On white
8.67
#574271 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#574271 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #574271
8.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##574271 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##574271 | 1.00 | 8.67 | 2.42 | 8.67 |
| #FFFFFF | 8.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#374B73
Deuteranopia (green-blind)
#3B4B70
Tritanopia (blue-blind)
#534A54
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #574271; /* rgb */ color: rgb(87, 66, 113); /* oklch */ color: oklch(42.2% 0.080 303.8);
Tailwind
colors: {
custom: {
50: '#87769a',
500: '#574271',
950: '#000000',
},
}SCSS
$custom: #574271; $custom-light: #87769a; $custom-dark: #000000;
JSON
{
"hex": "#574271",
"rgb": {
"r": 87,
"g": 66,
"b": 113
},
"hsl": {
"h": 266.809,
"s": 26.257,
"l": 35.098
},
"oklch": {
"l": 0.42219,
"c": 0.0796,
"h": 303.8
},
"luminance": 0.07115
}Semantic roles & 50–950 ramp
primary
#574271
secondary
#8A9D71
accent
#C36599
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0B080E
muted
#7C7B7E