#57209D#57209D

#57209D is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.3% C 0.185 H 297.1°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#57209D
RGBrgb(87, 32, 157)
HSLhsl(266, 66%, 37%)
HSVhsv(266, 80%, 62%)
CMYKcmyk(44.6%, 79.6%, 0%, 38.4%)
CIE-LABlab(28.10, 50.08, -57.49)
CIE-LCHlch(28.10, 76.24, 311.06°)
OKLaboklab(40.3% 0.0842 -0.1647)
OKLCHoklch(40.3% 0.185 297.1)
XYZxyz(10.5312, 5.4934, 32.3972)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57209D #669D20
analogous
#20279D #57209D #96209D
triadic
#57209D #9D5720 #209D57
tetradic
#57209D #9D2027 #669D20 #209D96
square
#57209D #9D2027 #669D20 #209D96
split-complementary
#57209D #9D9620 #279D20
monochromatic
#1F0B37 #3B166A #57209D #732AD0 #945ADD

Accessibility & contrast

On white

10.01
#57209D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#57209D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57209D
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57209D#FFFFFF#000000##FFFFFF
##57209D1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A0
Deuteranopia (green-blind)
#00419B
Tritanopia (blue-blind)
#44435E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #57209d;
/* rgb */ color: rgb(87, 32, 157);
/* oklch */ color: oklch(40.3% 0.185 297.1);
Tailwind
colors: {
  custom: {
    50: '#8e63bb',
    500: '#57209d',
    950: '#000000',
  },
}
SCSS
$custom: #57209d;
$custom-light: #8e63bb;
$custom-dark: #000000;
JSON
{
  "hex": "#57209d",
  "rgb": {
    "r": 87,
    "g": 32,
    "b": 157
  },
  "hsl": {
    "h": 266.4,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40298,
    "c": 0.18493,
    "h": 297.1
  },
  "luminance": 0.05494
}

Semantic roles & 50–950 ramp

primary
#57209D
secondary
#93C157
accent
#E93F9E
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #57209D

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

Preview Lab → · Contrast checker → · Palette generator →

#57209D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva