#57208E#57208E

#57208E is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.0% C 0.169 H 301.5°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#57208E
RGBrgb(87, 32, 142)
HSLhsl(270, 63%, 34%)
HSVhsv(270, 77%, 56%)
CMYKcmyk(38.7%, 77.5%, 0%, 44.3%)
CIE-LABlab(26.77, 46.28, -50.44)
CIE-LCHlch(26.77, 68.46, 312.54°)
OKLaboklab(38.96% 0.0883 -0.144)
OKLCHoklch(38.96% 0.169 301.5)
XYZxyz(9.3283, 5.0122, 26.0619)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57208E #578E20
analogous
#20208E #57208E #8E208E
triadic
#57208E #8E5720 #208E57
tetradic
#57208E #8E2020 #578E20 #208E8E
square
#57208E #8E2020 #578E20 #208E8E
split-complementary
#57208E #8E8E20 #208E20
monochromatic
#1A092A #38155C #57208E #762BC0 #9451D8

Accessibility & contrast

On white

10.49
#57208E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#57208E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57208E
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57208E#FFFFFF#000000##FFFFFF
##57208E1.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F91
Deuteranopia (green-blind)
#003F8C
Tritanopia (blue-blind)
#4B3C56
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #57208e;
/* rgb */ color: rgb(87, 32, 142);
/* oklch */ color: oklch(39.0% 0.169 301.5);
Tailwind
colors: {
  custom: {
    50: '#8c62b0',
    500: '#57208e',
    950: '#000000',
  },
}
SCSS
$custom: #57208e;
$custom-light: #8c62b0;
$custom-dark: #000000;
JSON
{
  "hex": "#57208e",
  "rgb": {
    "r": 87,
    "g": 32,
    "b": 142
  },
  "hsl": {
    "h": 270,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.3896,
    "c": 0.16891,
    "h": 301.5
  },
  "luminance": 0.05012
}

Semantic roles & 50–950 ramp

primary
#57208E
secondary
#85BB4F
accent
#E64294
background
#F9F6FA
surface
#F1EBF5
border
#CBC6CF
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #57208E

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

Preview Lab → · Contrast checker → · Palette generator →

#57208E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva