#57156D#57156D

#57156D is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.1% C 0.147 H 315.9°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#57156D
RGBrgb(87, 21, 109)
HSLhsl(285, 68%, 25%)
HSVhsv(285, 81%, 43%)
CMYKcmyk(20.2%, 80.7%, 0%, 57.3%)
CIE-LABlab(22.54, 43.05, -36.40)
CIE-LCHlch(22.54, 56.38, 319.79°)
OKLaboklab(35.15% 0.1059 -0.1026)
OKLCHoklch(35.15% 0.147 315.9)
XYZxyz(6.9585, 3.6670, 14.8063)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57156D #2B6D15
analogous
#2B156D #57156D #6D1557
triadic
#57156D #6D5715 #156D57
tetradic
#57156D #6D2B15 #2B6D15 #15576D
square
#57156D #6D2B15 #2B6D15 #15576D
split-complementary
#57156D #576D15 #156D2B
monochromatic
#14051A #2E0B3A #57156D #801FA0 #A929D4

Accessibility & contrast

On white

12.11
#57156D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#57156D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57156D
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57156D#FFFFFF#000000##FFFFFF
##57156D1.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326F
Deuteranopia (green-blind)
#13386B
Tritanopia (blue-blind)
#552941
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #57156d;
/* rgb */ color: rgb(87, 21, 109);
/* oklch */ color: oklch(35.1% 0.147 315.9);
Tailwind
colors: {
  custom: {
    50: '#8a5b97',
    500: '#57156d',
    950: '#000000',
  },
}
SCSS
$custom: #57156d;
$custom-light: #8a5b97;
$custom-dark: #000000;
JSON
{
  "hex": "#57156d",
  "rgb": {
    "r": 87,
    "g": 21,
    "b": 109
  },
  "hsl": {
    "h": 285,
    "s": 67.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.35146,
    "c": 0.14746,
    "h": 315.9
  },
  "luminance": 0.03667
}

Semantic roles & 50–950 ramp

primary
#57156D
secondary
#55A33A
accent
#EB3D69
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #57156D

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

Preview Lab → · Contrast checker → · Palette generator →

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