#57249F#57249F
#57249F is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.9% C 0.183 H 296.0°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).
Color values
| HEX | #57249F |
|---|---|
| RGB | rgb(87, 36, 159) |
| HSL | hsl(265, 63%, 38%) |
| HSV | hsv(265, 77%, 62%) |
| CMYK | cmyk(45.3%, 77.4%, 0%, 37.6%) |
| CIE-LAB | lab(28.88, 48.87, -57.43) |
| CIE-LCH | lch(28.88, 75.40, 310.39°) |
| OKLab | oklab(40.9% 0.0803 -0.1645) |
| OKLCH | oklch(40.9% 0.183 296) |
| XYZ | xyz(10.8177, 5.7909, 33.3420) |
| Luminance | 0.0579 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.53
Indigo Blue
#3A18B1
ΔE00 5.18
Violet Blue
#510AC9
ΔE00 6.01
Purple Blue
#5D21D0
ΔE00 6.67
Indigo
#4B0082
ΔE00 6.67
Purple (survey)
#7E1E9C
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#57249F #6C9F24
analogous
#242E9F #57249F #94249F
triadic
#57249F #9F5724 #249F57
tetradic
#57249F #9F242E #6C9F24 #249F94
square
#57249F #9F242E #6C9F24 #249F94
split-complementary
#57249F #9F9424 #2E9F24
monochromatic
#200D3B #3C196D #57249F #7230D0 #9462DB
Accessibility & contrast
On white
9.73
#57249F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#57249F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #57249F
9.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##57249F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##57249F | 1.00 | 9.73 | 2.16 | 9.73 |
| #FFFFFF | 9.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#00429D
Tritanopia (blue-blind)
#434560
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #57249f; /* rgb */ color: rgb(87, 36, 159); /* oklch */ color: oklch(40.9% 0.183 296.0);
Tailwind
colors: {
custom: {
50: '#8e65bc',
500: '#57249f',
950: '#000000',
},
}SCSS
$custom: #57249f; $custom-light: #8e65bc; $custom-dark: #000000;
JSON
{
"hex": "#57249f",
"rgb": {
"r": 87,
"g": 36,
"b": 159
},
"hsl": {
"h": 264.878,
"s": 63.077,
"l": 38.235
},
"oklch": {
"l": 0.409,
"c": 0.18307,
"h": 296
},
"luminance": 0.05791
}Semantic roles & 50–950 ramp
primary
#57249F
secondary
#98C15E
accent
#E642A2
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81