#57208A#57208A

#57208A is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.6% C 0.165 H 302.9°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#57208A
RGBrgb(87, 32, 138)
HSLhsl(271, 62%, 33%)
HSVhsv(271, 77%, 54%)
CMYKcmyk(37%, 76.8%, 0%, 45.9%)
CIE-LABlab(26.43, 45.29, -48.50)
CIE-LCHlch(26.43, 66.36, 313.03°)
OKLaboklab(38.62% 0.0893 -0.1383)
OKLCHoklch(38.62% 0.165 302.9)
XYZxyz(9.0334, 4.8942, 24.5086)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57208A #538A20
analogous
#22208A #57208A #8A2088
triadic
#57208A #8A5720 #208A57
tetradic
#57208A #8A2220 #538A20 #20888A
square
#57208A #8A2220 #538A20 #20888A
split-complementary
#57208A #888A20 #208A22
monochromatic
#180927 #381458 #57208A #762CBC #954ED6

Accessibility & contrast

On white

10.61
#57208A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#57208A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57208A
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57208A#FFFFFF#000000##FFFFFF
##57208A1.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8D
Deuteranopia (green-blind)
#003E88
Tritanopia (blue-blind)
#4C3B54
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #57208a;
/* rgb */ color: rgb(87, 32, 138);
/* oklch */ color: oklch(38.6% 0.165 302.9);
Tailwind
colors: {
  custom: {
    50: '#8c62ad',
    500: '#57208a',
    950: '#000000',
  },
}
SCSS
$custom: #57208a;
$custom-light: #8c62ad;
$custom-dark: #000000;
JSON
{
  "hex": "#57208a",
  "rgb": {
    "r": 87,
    "g": 32,
    "b": 138
  },
  "hsl": {
    "h": 271.132,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.38617,
    "c": 0.16461,
    "h": 302.9
  },
  "luminance": 0.04894
}

Semantic roles & 50–950 ramp

primary
#57208A
secondary
#81B94D
accent
#E54291
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0D0510
muted
#7D7A7F

Preview Lab

Preview with #57208A

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

Preview Lab → · Contrast checker → · Palette generator →

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