#57207F#57207F

#57207F is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.7% C 0.153 H 306.8°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#57207F
RGBrgb(87, 32, 127)
HSLhsl(275, 60%, 31%)
HSVhsv(275, 75%, 50%)
CMYKcmyk(31.5%, 74.8%, 0%, 50.2%)
CIE-LABlab(25.54, 42.58, -43.06)
CIE-LCHlch(25.54, 60.55, 314.68°)
OKLaboklab(37.71% 0.0916 -0.1223)
OKLCHoklch(37.71% 0.153 306.8)
XYZxyz(8.2769, 4.5917, 20.5248)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57207F #487F20
analogous
#27207F #57207F #7F2077
triadic
#57207F #7F5720 #207F57
tetradic
#57207F #7F2720 #487F20 #20777F
square
#57207F #7F2720 #487F20 #20777F
split-complementary
#57207F #777F20 #207F27
monochromatic
#14071D #36144E #57207F #782CB0 #9748D1

Accessibility & contrast

On white

10.95
#57207F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#57207F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57207F
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57207F#FFFFFF#000000##FFFFFF
##57207F1.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B82
Deuteranopia (green-blind)
#003D7D
Tritanopia (blue-blind)
#50364D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #57207f;
/* rgb */ color: rgb(87, 32, 127);
/* oklch */ color: oklch(37.7% 0.153 306.8);
Tailwind
colors: {
  custom: {
    50: '#8a61a5',
    500: '#57207f',
    950: '#000000',
  },
}
SCSS
$custom: #57207f;
$custom-light: #8a61a5;
$custom-dark: #000000;
JSON
{
  "hex": "#57207f",
  "rgb": {
    "r": 87,
    "g": 32,
    "b": 127
  },
  "hsl": {
    "h": 274.737,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37707,
    "c": 0.15278,
    "h": 306.8
  },
  "luminance": 0.04592
}

Semantic roles & 50–950 ramp

primary
#57207F
secondary
#75B249
accent
#E34587
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #57207F

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

Preview Lab → · Contrast checker → · Palette generator →

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