#57207B#57207B

#57207B is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.4% C 0.148 H 308.4°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#57207B
RGBrgb(87, 32, 123)
HSLhsl(276, 59%, 30%)
HSVhsv(276, 74%, 48%)
CMYKcmyk(29.3%, 74%, 0%, 51.8%)
CIE-LABlab(25.23, 41.61, -41.03)
CIE-LCHlch(25.23, 58.44, 315.40°)
OKLaboklab(37.39% 0.0923 -0.1163)
OKLCHoklch(37.39% 0.148 308.4)
XYZxyz(8.0214, 4.4895, 19.1790)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57207B #447B20
analogous
#29207B #57207B #7B2071
triadic
#57207B #7B5720 #207B57
tetradic
#57207B #7B2920 #447B20 #20717B
square
#57207B #7B2920 #447B20 #20717B
split-complementary
#57207B #717B20 #207B29
monochromatic
#12071A #35134A #57207B #792DAC #9946CF

Accessibility & contrast

On white

11.07
#57207B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #57207B
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57207B#FFFFFF#000000##FFFFFF
##57207B1.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7E
Deuteranopia (green-blind)
#083C79
Tritanopia (blue-blind)
#51354B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #57207b;
/* rgb */ color: rgb(87, 32, 123);
/* oklch */ color: oklch(37.4% 0.148 308.4);
Tailwind
colors: {
  custom: {
    50: '#8a61a2',
    500: '#57207b',
    950: '#000000',
  },
}
SCSS
$custom: #57207b;
$custom-light: #8a61a2;
$custom-dark: #000000;
JSON
{
  "hex": "#57207b",
  "rgb": {
    "r": 87,
    "g": 32,
    "b": 123
  },
  "hsl": {
    "h": 276.264,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.37388,
    "c": 0.14848,
    "h": 308.4
  },
  "luminance": 0.04489
}

Semantic roles & 50–950 ramp

primary
#57207B
secondary
#71AE49
accent
#E24684
background
#F8F5FA
surface
#F0EAF3
border
#CBC6CD
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #57207B

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

Preview Lab → · Contrast checker → · Palette generator →

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