#57417C#57417C
#57417C is a dark, moderate violet. Relative luminance 0.073; OKLCH L 42.7% C 0.097 H 299.5°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).
Color values
| HEX | #57417C |
|---|---|
| RGB | rgb(87, 65, 124) |
| HSL | hsl(262, 31%, 37%) |
| HSV | hsv(262, 48%, 49%) |
| CMYK | cmyk(29.8%, 47.6%, 0%, 51.4%) |
| CIE-LAB | lab(32.40, 23.09, -30.19) |
| CIE-LCH | lch(32.40, 38.01, 307.42°) |
| OKLab | oklab(42.66% 0.0478 -0.0847) |
| OKLCH | oklch(42.66% 0.097 299.5) |
| XYZ | xyz(9.4580, 7.2620, 19.9683) |
| Luminance | 0.0726 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.70
Twilight
#4E518B
ΔE00 7.46
Blueberry
#464196
ΔE00 7.47
Rebeccapurple
#663399
ΔE00 7.91
Dusk
#4E5481
ΔE00 8.54
Royal Purple
#7851A9
ΔE00 9.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#57417C #667C41
analogous
#41497C #57417C #75417C
triadic
#57417C #7C5741 #417C57
tetradic
#57417C #7C4149 #667C41 #417C75
square
#57417C #7C4149 #667C41 #417C75
split-complementary
#57417C #7C7541 #497C41
monochromatic
#1F172C #3B2C54 #57417C #7356A4 #947DBB
Accessibility & contrast
On white
8.56
#57417C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#57417C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #57417C
8.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##57417C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##57417C | 1.00 | 8.56 | 2.45 | 8.56 |
| #FFFFFF | 8.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F4C7E
Deuteranopia (green-blind)
#344C7B
Tritanopia (blue-blind)
#504C58
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #57417c; /* rgb */ color: rgb(87, 65, 124); /* oklch */ color: oklch(42.7% 0.097 299.5);
Tailwind
colors: {
custom: {
50: '#8876a2',
500: '#57417c',
950: '#000000',
},
}SCSS
$custom: #57417c; $custom-light: #8876a2; $custom-dark: #000000;
JSON
{
"hex": "#57417c",
"rgb": {
"r": 87,
"g": 65,
"b": 124
},
"hsl": {
"h": 262.373,
"s": 31.217,
"l": 37.059
},
"oklch": {
"l": 0.42659,
"c": 0.09726,
"h": 299.5
},
"luminance": 0.07262
}Semantic roles & 50–950 ramp
primary
#57417C
secondary
#93A573
accent
#C760A1
background
#F8F7FA
surface
#F0EDF3
border
#CBC8CD
text
#0B080F
muted
#7C7B7F