#57208B#57208B

#57208B is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.7% C 0.166 H 302.5°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#57208B
RGBrgb(87, 32, 139)
HSLhsl(271, 63%, 34%)
HSVhsv(271, 77%, 55%)
CMYKcmyk(37.4%, 77%, 0%, 45.5%)
CIE-LABlab(26.52, 45.53, -48.99)
CIE-LCHlch(26.52, 66.88, 312.91°)
OKLaboklab(38.7% 0.0891 -0.1397)
OKLCHoklch(38.7% 0.166 302.5)
XYZxyz(9.1061, 4.9233, 24.8916)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57208B #548B20
analogous
#21208B #57208B #8B2089
triadic
#57208B #8B5720 #208B57
tetradic
#57208B #8B2120 #548B20 #20898B
square
#57208B #8B2120 #548B20 #20898B
split-complementary
#57208B #898B20 #208B21
monochromatic
#190928 #381559 #57208B #762BBD #954FD6

Accessibility & contrast

On white

10.58
#57208B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #57208B
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57208B#FFFFFF#000000##FFFFFF
##57208B1.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #57208b;
/* rgb */ color: rgb(87, 32, 139);
/* oklch */ color: oklch(38.7% 0.166 302.5);
Tailwind
colors: {
  custom: {
    50: '#8c62ae',
    500: '#57208b',
    950: '#000000',
  },
}
SCSS
$custom: #57208b;
$custom-light: #8c62ae;
$custom-dark: #000000;
JSON
{
  "hex": "#57208b",
  "rgb": {
    "r": 87,
    "g": 32,
    "b": 139
  },
  "hsl": {
    "h": 270.841,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.38702,
    "c": 0.16569,
    "h": 302.5
  },
  "luminance": 0.04923
}

Semantic roles & 50–950 ramp

primary
#57208B
secondary
#82BA4D
accent
#E64292
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0D0510
muted
#7D7A7F

Preview Lab

Preview with #57208B

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

Preview Lab → · Contrast checker → · Palette generator →

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