#574C8A#574C8A
#574C8A is a mid, moderate violet. Relative luminance 0.090; OKLCH L 45.7% C 0.099 H 290.1°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).
Color values
| HEX | #574C8A |
|---|---|
| RGB | rgb(87, 76, 138) |
| HSL | hsl(251, 29%, 42%) |
| HSV | hsv(251, 45%, 54%) |
| CMYK | cmyk(37%, 44.9%, 0%, 45.9%) |
| CIE-LAB | lab(36.04, 20.09, -33.06) |
| CIE-LCH | lch(36.04, 38.69, 301.28°) |
| OKLab | oklab(45.66% 0.034 -0.0931) |
| OKLCH | oklch(45.66% 0.099 290.1) |
| XYZ | xyz(11.1011, 9.0298, 25.1979) |
| Luminance | 0.0903 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Twilight
#4E518B
ΔE00 3.52
Dusk
#4E5481
ΔE00 5.23
Darkslateblue
#483D8B
ΔE00 5.50
Blueberry
#464196
ΔE00 5.90
Royal Purple
#7851A9
ΔE00 8.27
Ocean Blue
#4F42B5
ΔE00 8.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#574C8A #7F8A4C
analogous
#4C608A #574C8A #764C8A
triadic
#574C8A #8A574C #4C8A57
tetradic
#574C8A #8A4C60 #7F8A4C #4C8A76
square
#574C8A #8A4C60 #7F8A4C #4C8A76
split-complementary
#574C8A #8A764C #608A4C
monochromatic
#25213B #3E3663 #574C8A #7468AC #988FC1
Accessibility & contrast
On white
7.48
#574C8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#574C8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #574C8A
7.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##574C8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##574C8A | 1.00 | 7.48 | 2.81 | 7.48 |
| #FFFFFF | 7.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#37568C
Deuteranopia (green-blind)
#385389
Tritanopia (blue-blind)
#4A5864
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #574c8a; /* rgb */ color: rgb(87, 76, 138); /* oklch */ color: oklch(45.7% 0.099 290.1);
Tailwind
colors: {
custom: {
50: '#897eac',
500: '#574c8a',
950: '#000000',
},
}SCSS
$custom: #574c8a; $custom-light: #897eac; $custom-dark: #000000;
JSON
{
"hex": "#574c8a",
"rgb": {
"r": 87,
"g": 76,
"b": 138
},
"hsl": {
"h": 250.645,
"s": 28.972,
"l": 41.961
},
"oklch": {
"l": 0.45662,
"c": 0.09907,
"h": 290.1
},
"luminance": 0.0903
}Semantic roles & 50–950 ramp
primary
#574C8A
secondary
#A6AE84
accent
#C563B4
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0C0A10
muted
#7D7C7F