#57208C#57208C

#57208C is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.8% C 0.167 H 302.2°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#57208C
RGBrgb(87, 32, 140)
HSLhsl(271, 63%, 34%)
HSVhsv(271, 77%, 55%)
CMYKcmyk(37.9%, 77.1%, 0%, 45.1%)
CIE-LABlab(26.60, 45.78, -49.47)
CIE-LCHlch(26.60, 67.41, 312.78°)
OKLaboklab(38.79% 0.0888 -0.1411)
OKLCHoklch(38.79% 0.167 302.2)
XYZxyz(9.1795, 4.9527, 25.2782)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57208C #558C20
analogous
#21208C #57208C #8C208B
triadic
#57208C #8C5720 #208C57
tetradic
#57208C #8C2120 #558C20 #208B8C
square
#57208C #8C2120 #558C20 #208B8C
split-complementary
#57208C #8B8C20 #208C21
monochromatic
#190928 #38155A #57208C #762BBE #9450D7

Accessibility & contrast

On white

10.55
#57208C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#57208C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57208C
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57208C#FFFFFF#000000##FFFFFF
##57208C1.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8F
Deuteranopia (green-blind)
#003E8A
Tritanopia (blue-blind)
#4C3C55
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #57208c;
/* rgb */ color: rgb(87, 32, 140);
/* oklch */ color: oklch(38.8% 0.167 302.2);
Tailwind
colors: {
  custom: {
    50: '#8c62ae',
    500: '#57208c',
    950: '#000000',
  },
}
SCSS
$custom: #57208c;
$custom-light: #8c62ae;
$custom-dark: #000000;
JSON
{
  "hex": "#57208c",
  "rgb": {
    "r": 87,
    "g": 32,
    "b": 140
  },
  "hsl": {
    "h": 270.556,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.38788,
    "c": 0.16675,
    "h": 302.2
  },
  "luminance": 0.04953
}

Semantic roles & 50–950 ramp

primary
#57208C
secondary
#83BA4E
accent
#E64292
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0D0510
muted
#7D7A7F

Preview Lab

Preview with #57208C

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

Preview Lab → · Contrast checker → · Palette generator →

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