#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
RGBrgb(87, 36, 159)
HSLhsl(265, 63%, 38%)
HSVhsv(265, 77%, 62%)
CMYKcmyk(45.3%, 77.4%, 0%, 37.6%)
CIE-LABlab(28.88, 48.87, -57.43)
CIE-LCHlch(28.88, 75.40, 310.39°)
OKLaboklab(40.9% 0.0803 -0.1645)
OKLCHoklch(40.9% 0.183 296)
XYZxyz(10.8177, 5.7909, 33.3420)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

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
##57249F1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.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

Preview Lab

Preview with #57249F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#57249F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva