#57207C#57207C

#57207C is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.5% C 0.150 H 308.0°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#57207C
RGBrgb(87, 32, 124)
HSLhsl(276, 59%, 31%)
HSVhsv(276, 74%, 49%)
CMYKcmyk(29.8%, 74.2%, 0%, 51.4%)
CIE-LABlab(25.30, 41.85, -41.54)
CIE-LCHlch(25.30, 58.97, 315.22°)
OKLaboklab(37.47% 0.0921 -0.1178)
OKLCHoklch(37.47% 0.15 308)
XYZxyz(8.0843, 4.5146, 19.5104)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57207C #457C20
analogous
#29207C #57207C #7C2073
triadic
#57207C #7C5720 #207C57
tetradic
#57207C #7C2920 #457C20 #20737C
square
#57207C #7C2920 #457C20 #20737C
split-complementary
#57207C #737C20 #207C29
monochromatic
#13071B #35134B #57207C #792DAD #9947CF

Accessibility & contrast

On white

11.04
#57207C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#57207C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57207C
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57207C#FFFFFF#000000##FFFFFF
##57207C1.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7F
Deuteranopia (green-blind)
#053D7A
Tritanopia (blue-blind)
#51354C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #57207c;
/* rgb */ color: rgb(87, 32, 124);
/* oklch */ color: oklch(37.5% 0.150 308.0);
Tailwind
colors: {
  custom: {
    50: '#8a61a3',
    500: '#57207c',
    950: '#000000',
  },
}
SCSS
$custom: #57207c;
$custom-light: #8a61a3;
$custom-dark: #000000;
JSON
{
  "hex": "#57207c",
  "rgb": {
    "r": 87,
    "g": 32,
    "b": 124
  },
  "hsl": {
    "h": 275.87,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.37467,
    "c": 0.14955,
    "h": 308
  },
  "luminance": 0.04514
}

Semantic roles & 50–950 ramp

primary
#57207C
secondary
#72AF49
accent
#E24685
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #57207C

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

Preview Lab → · Contrast checker → · Palette generator →

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