#57209C#57209C

#57209C is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.2% C 0.184 H 297.3°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#57209C
RGBrgb(87, 32, 156)
HSLhsl(267, 66%, 37%)
HSVhsv(267, 79%, 61%)
CMYKcmyk(44.2%, 79.5%, 0%, 38.8%)
CIE-LABlab(28.01, 49.82, -57.03)
CIE-LCHlch(28.01, 75.73, 311.14°)
OKLaboklab(40.21% 0.0845 -0.1633)
OKLCHoklch(40.21% 0.184 297.3)
XYZxyz(10.4462, 5.4594, 31.9494)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57209C #659C20
analogous
#20279C #57209C #95209C
triadic
#57209C #9C5720 #209C57
tetradic
#57209C #9C2027 #659C20 #209C95
square
#57209C #9C2027 #659C20 #209C95
split-complementary
#57209C #9C9520 #279C20
monochromatic
#1E0B36 #3B1669 #57209C #732ACF #9459DD

Accessibility & contrast

On white

10.04
#57209C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#57209C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57209C
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57209C#FFFFFF#000000##FFFFFF
##57209C1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429F
Deuteranopia (green-blind)
#00419A
Tritanopia (blue-blind)
#45425E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #57209c;
/* rgb */ color: rgb(87, 32, 156);
/* oklch */ color: oklch(40.2% 0.184 297.3);
Tailwind
colors: {
  custom: {
    50: '#8e62ba',
    500: '#57209c',
    950: '#000000',
  },
}
SCSS
$custom: #57209c;
$custom-light: #8e62ba;
$custom-dark: #000000;
JSON
{
  "hex": "#57209c",
  "rgb": {
    "r": 87,
    "g": 32,
    "b": 156
  },
  "hsl": {
    "h": 266.613,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40206,
    "c": 0.18386,
    "h": 297.3
  },
  "luminance": 0.0546
}

Semantic roles & 50–950 ramp

primary
#57209C
secondary
#92C157
accent
#E93F9D
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #57209C

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

Preview Lab → · Contrast checker → · Palette generator →

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