#57428E#57428E
#57428E is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.0% C 0.121 H 293.5°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).
Color values
| HEX | #57428E |
|---|---|
| RGB | rgb(87, 66, 142) |
| HSL | hsl(257, 37%, 41%) |
| HSV | hsv(257, 54%, 56%) |
| CMYK | cmyk(38.7%, 53.5%, 0%, 44.3%) |
| CIE-LAB | lab(33.72, 27.56, -39.20) |
| CIE-LCH | lch(33.72, 47.92, 305.10°) |
| OKLab | oklab(44% 0.0484 -0.111) |
| OKLCH | oklch(44% 0.121 293.5) |
| XYZ | xyz(10.7599, 7.8754, 26.5391) |
| Luminance | 0.0788 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 3.22
Blueberry
#464196
ΔE00 4.26
Rebeccapurple
#663399
ΔE00 5.82
Twilight
#4E518B
ΔE00 6.51
Ocean Blue
#4F42B5
ΔE00 7.07
Royal Purple
#7851A9
ΔE00 8.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#57428E #798E42
analogous
#42538E #57428E #7D428E
triadic
#57428E #8E5742 #428E57
tetradic
#57428E #8E4253 #798E42 #428E7D
square
#57428E #8E4253 #798E42 #428E7D
split-complementary
#57428E #8E7D42 #538E42
monochromatic
#241B3A #3D2F64 #57428E #735BB3 #9784C6
Accessibility & contrast
On white
8.15
#57428E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#57428E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #57428E
8.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##57428E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##57428E | 1.00 | 8.15 | 2.58 | 8.15 |
| #FFFFFF | 8.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#235091
Deuteranopia (green-blind)
#274E8C
Tritanopia (blue-blind)
#495161
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #57428e; /* rgb */ color: rgb(87, 66, 142); /* oklch */ color: oklch(44.0% 0.121 293.5);
Tailwind
colors: {
custom: {
50: '#8a77af',
500: '#57428e',
950: '#000000',
},
}SCSS
$custom: #57428e; $custom-light: #8a77af; $custom-dark: #000000;
JSON
{
"hex": "#57428e",
"rgb": {
"r": 87,
"g": 66,
"b": 142
},
"hsl": {
"h": 256.579,
"s": 36.538,
"l": 40.784
},
"oklch": {
"l": 0.43998,
"c": 0.12113,
"h": 293.5
},
"luminance": 0.07876
}Semantic roles & 50–950 ramp
primary
#57428E
secondary
#A2B17B
accent
#CD5BAD
background
#F8F7FA
surface
#F0EDF5
border
#CBC8CF
text
#0C0810
muted
#7D7B7F