#57136D#57136D

#57136D is a dark, vivid purple. Relative luminance 0.036; OKLCH L 35.0% C 0.150 H 316.1°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#57136D
RGBrgb(87, 19, 109)
HSLhsl(285, 70%, 25%)
HSVhsv(285, 83%, 43%)
CMYKcmyk(20.2%, 82.6%, 0%, 57.3%)
CIE-LABlab(22.29, 43.77, -36.80)
CIE-LCHlch(22.29, 57.19, 319.94°)
OKLaboklab(34.97% 0.1077 -0.1038)
OKLCHoklch(34.97% 0.15 316.1)
XYZxyz(6.9232, 3.5964, 14.7945)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57136D #296D13
analogous
#2A136D #57136D #6D1356
triadic
#57136D #6D5713 #136D57
tetradic
#57136D #6D2A13 #296D13 #13566D
square
#57136D #6D2A13 #296D13 #13566D
split-complementary
#57136D #566D13 #136D2A
monochromatic
#15051A #2D0A39 #57136D #811CA1 #AA25D5

Accessibility & contrast

On white

12.21
#57136D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#57136D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57136D
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57136D#FFFFFF#000000##FFFFFF
##57136D1.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316F
Deuteranopia (green-blind)
#11376B
Tritanopia (blue-blind)
#552840
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #57136d;
/* rgb */ color: rgb(87, 19, 109);
/* oklch */ color: oklch(35.0% 0.150 316.1);
Tailwind
colors: {
  custom: {
    50: '#8a5a97',
    500: '#57136d',
    950: '#000000',
  },
}
SCSS
$custom: #57136d;
$custom-light: #8a5a97;
$custom-dark: #000000;
JSON
{
  "hex": "#57136d",
  "rgb": {
    "r": 87,
    "g": 19,
    "b": 109
  },
  "hsl": {
    "h": 285.333,
    "s": 70.313,
    "l": 25.098
  },
  "oklch": {
    "l": 0.34971,
    "c": 0.14958,
    "h": 316.1
  },
  "luminance": 0.03596
}

Semantic roles & 50–950 ramp

primary
#57136D
secondary
#52A438
accent
#ED3B66
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #57136D

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

Preview Lab → · Contrast checker → · Palette generator →

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