#57338E#57338E
#57338E is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.5% C 0.144 H 298.0°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).
Color values
| HEX | #57338E |
|---|---|
| RGB | rgb(87, 51, 142) |
| HSL | hsl(264, 47%, 38%) |
| HSV | hsv(264, 64%, 56%) |
| CMYK | cmyk(38.7%, 64.1%, 0%, 44.3%) |
| CIE-LAB | lab(30.27, 36.56, -44.75) |
| CIE-LCH | lch(30.27, 57.79, 309.25°) |
| OKLab | oklab(41.46% 0.0678 -0.1273) |
| OKLCH | oklch(41.46% 0.144 298) |
| XYZ | xyz(9.9956, 6.3467, 26.2844) |
| Luminance | 0.0635 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.13
Darkslateblue
#483D8B
ΔE00 4.86
Blueberry
#464196
ΔE00 6.25
Ocean Blue
#4F42B5
ΔE00 7.79
Purple (survey)
#7E1E9C
ΔE00 8.12
Indigo
#4B0082
ΔE00 8.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#57338E #6A8E33
analogous
#333D8E #57338E #84338E
triadic
#57338E #8E5733 #338E57
tetradic
#57338E #8E333D #6A8E33 #338E84
square
#57338E #8E333D #6A8E33 #338E84
split-complementary
#57338E #8E8433 #3D8E33
monochromatic
#201334 #3B2361 #57338E #7343BB #9470CC
Accessibility & contrast
On white
9.25
#57338E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#57338E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #57338E
9.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##57338E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##57338E | 1.00 | 9.25 | 2.27 | 9.25 |
| #FFFFFF | 9.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004791
Deuteranopia (green-blind)
#06468C
Tritanopia (blue-blind)
#4A475B
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #57338e; /* rgb */ color: rgb(87, 51, 142); /* oklch */ color: oklch(41.5% 0.144 298.0);
Tailwind
colors: {
custom: {
50: '#8b6db0',
500: '#57338e',
950: '#000000',
},
}SCSS
$custom: #57338e; $custom-light: #8b6db0; $custom-dark: #000000;
JSON
{
"hex": "#57338e",
"rgb": {
"r": 87,
"g": 51,
"b": 142
},
"hsl": {
"h": 263.736,
"s": 47.15,
"l": 37.843
},
"oklch": {
"l": 0.41462,
"c": 0.14426,
"h": 298
},
"luminance": 0.06347
}Semantic roles & 50–950 ramp
primary
#57338E
secondary
#96B469
accent
#D751A2
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0710
muted
#7D7A7F