#57207D#57207D

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

Color values

HEX#57207D
RGBrgb(87, 32, 125)
HSLhsl(275, 59%, 31%)
HSVhsv(275, 74%, 49%)
CMYKcmyk(30.4%, 74.4%, 0%, 51%)
CIE-LABlab(25.38, 42.09, -42.05)
CIE-LCHlch(25.38, 59.50, 315.03°)
OKLaboklab(37.55% 0.092 -0.1193)
OKLCHoklch(37.55% 0.151 307.6)
XYZxyz(8.1479, 4.5400, 19.8451)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57207D #467D20
analogous
#28207D #57207D #7D2074
triadic
#57207D #7D5720 #207D57
tetradic
#57207D #7D2820 #467D20 #20747D
square
#57207D #7D2820 #467D20 #20747D
split-complementary
#57207D #747D20 #207D28
monochromatic
#13071C #35144C #57207D #792CAE #9847D0

Accessibility & contrast

On white

11.01
#57207D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#57207D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57207D
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57207D#FFFFFF#000000##FFFFFF
##57207D1.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A80
Deuteranopia (green-blind)
#023D7B
Tritanopia (blue-blind)
#51354C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #57207d;
/* rgb */ color: rgb(87, 32, 125);
/* oklch */ color: oklch(37.5% 0.151 307.6);
Tailwind
colors: {
  custom: {
    50: '#8a61a3',
    500: '#57207d',
    950: '#000000',
  },
}
SCSS
$custom: #57207d;
$custom-light: #8a61a3;
$custom-dark: #000000;
JSON
{
  "hex": "#57207d",
  "rgb": {
    "r": 87,
    "g": 32,
    "b": 125
  },
  "hsl": {
    "h": 275.484,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37547,
    "c": 0.15063,
    "h": 307.6
  },
  "luminance": 0.0454
}

Semantic roles & 50–950 ramp

primary
#57207D
secondary
#73B049
accent
#E24586
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #57207D

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

Preview Lab → · Contrast checker → · Palette generator →

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