#57209B#57209B

#57209B is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.1% C 0.183 H 297.6°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#57209B
RGBrgb(87, 32, 155)
HSLhsl(267, 66%, 37%)
HSVhsv(267, 79%, 61%)
CMYKcmyk(43.9%, 79.4%, 0%, 39.2%)
CIE-LABlab(27.91, 49.57, -56.57)
CIE-LCHlch(27.91, 75.21, 311.23°)
OKLaboklab(40.12% 0.0848 -0.162)
OKLCHoklch(40.12% 0.183 297.6)
XYZxyz(10.3618, 5.4256, 31.5053)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57209B #649B20
analogous
#20279B #57209B #95209B
triadic
#57209B #9B5720 #209B57
tetradic
#57209B #9B2027 #649B20 #209B95
square
#57209B #9B2027 #649B20 #209B95
split-complementary
#57209B #9B9520 #279B20
monochromatic
#1E0B36 #3B1668 #57209B #732ACE #9459DD

Accessibility & contrast

On white

10.07
#57209B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #57209B
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57209B#FFFFFF#000000##FFFFFF
##57209B1.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429E
Deuteranopia (green-blind)
#004099
Tritanopia (blue-blind)
#45425D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #57209b;
/* rgb */ color: rgb(87, 32, 155);
/* oklch */ color: oklch(40.1% 0.183 297.6);
Tailwind
colors: {
  custom: {
    50: '#8d62b9',
    500: '#57209b',
    950: '#000000',
  },
}
SCSS
$custom: #57209b;
$custom-light: #8d62b9;
$custom-dark: #000000;
JSON
{
  "hex": "#57209b",
  "rgb": {
    "r": 87,
    "g": 32,
    "b": 155
  },
  "hsl": {
    "h": 266.829,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40115,
    "c": 0.1828,
    "h": 297.6
  },
  "luminance": 0.05426
}

Semantic roles & 50–950 ramp

primary
#57209B
secondary
#91C156
accent
#E93F9D
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0512
muted
#7E7A81

Preview Lab

Preview with #57209B

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

Preview Lab → · Contrast checker → · Palette generator →

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