#57208D#57208D

#57208D is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.9% C 0.168 H 301.9°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#57208D
RGBrgb(87, 32, 141)
HSLhsl(270, 63%, 34%)
HSVhsv(270, 77%, 55%)
CMYKcmyk(38.3%, 77.3%, 0%, 44.7%)
CIE-LABlab(26.68, 46.03, -49.96)
CIE-LCHlch(26.68, 67.93, 312.66°)
OKLaboklab(38.87% 0.0886 -0.1425)
OKLCHoklch(38.87% 0.168 301.9)
XYZxyz(9.2535, 4.9823, 25.6683)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57208D #568D20
analogous
#20208D #57208D #8D208D
triadic
#57208D #8D5720 #208D57
tetradic
#57208D #8D2020 #568D20 #208D8D
square
#57208D #8D2020 #568D20 #208D8D
split-complementary
#57208D #8D8D20 #208D20
monochromatic
#190929 #38155B #57208D #762BBF #9450D7

Accessibility & contrast

On white

10.52
#57208D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #57208D
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57208D#FFFFFF#000000##FFFFFF
##57208D1.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E90
Deuteranopia (green-blind)
#003F8B
Tritanopia (blue-blind)
#4B3C55
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #57208d;
/* rgb */ color: rgb(87, 32, 141);
/* oklch */ color: oklch(38.9% 0.168 301.9);
Tailwind
colors: {
  custom: {
    50: '#8c62af',
    500: '#57208d',
    950: '#000000',
  },
}
SCSS
$custom: #57208d;
$custom-light: #8c62af;
$custom-dark: #000000;
JSON
{
  "hex": "#57208d",
  "rgb": {
    "r": 87,
    "g": 32,
    "b": 141
  },
  "hsl": {
    "h": 270.275,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38874,
    "c": 0.16783,
    "h": 301.9
  },
  "luminance": 0.04982
}

Semantic roles & 50–950 ramp

primary
#57208D
secondary
#84BA4E
accent
#E64293
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0D0510
muted
#7D7A7F

Preview Lab

Preview with #57208D

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

Preview Lab → · Contrast checker → · Palette generator →

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