#57208F#57208F

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

Color values

HEX#57208F
RGBrgb(87, 32, 143)
HSLhsl(270, 63%, 34%)
HSVhsv(270, 78%, 56%)
CMYKcmyk(39.2%, 77.6%, 0%, 43.9%)
CIE-LABlab(26.86, 46.53, -50.92)
CIE-LCHlch(26.86, 68.98, 312.42°)
OKLaboklab(39.05% 0.0881 -0.1454)
OKLCHoklch(39.05% 0.17 301.2)
XYZxyz(9.4037, 5.0424, 26.4591)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57208F #588F20
analogous
#20208F #57208F #8F208F
triadic
#57208F #8F5720 #208F57
tetradic
#57208F #8F2020 #588F20 #208F8F
square
#57208F #8F2020 #588F20 #208F8F
split-complementary
#57208F #8F8F20 #208F20
monochromatic
#1A0A2B #39155D #57208F #752BC1 #9451D8

Accessibility & contrast

On white

10.46
#57208F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#57208F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57208F
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57208F#FFFFFF#000000##FFFFFF
##57208F1.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#003F8D
Tritanopia (blue-blind)
#4B3D56
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #57208f;
/* rgb */ color: rgb(87, 32, 143);
/* oklch */ color: oklch(39.0% 0.170 301.2);
Tailwind
colors: {
  custom: {
    50: '#8c62b1',
    500: '#57208f',
    950: '#000000',
  },
}
SCSS
$custom: #57208f;
$custom-light: #8c62b1;
$custom-dark: #000000;
JSON
{
  "hex": "#57208f",
  "rgb": {
    "r": 87,
    "g": 32,
    "b": 143
  },
  "hsl": {
    "h": 269.73,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.39047,
    "c": 0.16998,
    "h": 301.2
  },
  "luminance": 0.05042
}

Semantic roles & 50–950 ramp

primary
#57208F
secondary
#86BB4F
accent
#E64195
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #57208F

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

Preview Lab → · Contrast checker → · Palette generator →

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