#57136C#57136C

#57136C is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.9% C 0.149 H 316.5°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#57136C
RGBrgb(87, 19, 108)
HSLhsl(286, 70%, 25%)
HSVhsv(286, 82%, 42%)
CMYKcmyk(19.4%, 82.4%, 0%, 57.6%)
CIE-LABlab(22.21, 43.56, -36.28)
CIE-LCHlch(22.21, 56.69, 320.21°)
OKLaboklab(34.89% 0.1079 -0.1023)
OKLCHoklch(34.89% 0.149 316.5)
XYZxyz(6.8697, 3.5750, 14.5126)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57136C #286C13
analogous
#2B136C #57136C #6C1354
triadic
#57136C #6C5713 #136C57
tetradic
#57136C #6C2B13 #286C13 #13546C
square
#57136C #6C2B13 #286C13 #13546C
split-complementary
#57136C #546C13 #136C2B
monochromatic
#15051A #2D0A38 #57136C #811CA0 #AB25D4

Accessibility & contrast

On white

12.24
#57136C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #57136C
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57136C#FFFFFF#000000##FFFFFF
##57136C1.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316E
Deuteranopia (green-blind)
#13376A
Tritanopia (blue-blind)
#562740
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #57136c;
/* rgb */ color: rgb(87, 19, 108);
/* oklch */ color: oklch(34.9% 0.149 316.5);
Tailwind
colors: {
  custom: {
    50: '#8a5a97',
    500: '#57136c',
    950: '#000000',
  },
}
SCSS
$custom: #57136c;
$custom-light: #8a5a97;
$custom-dark: #000000;
JSON
{
  "hex": "#57136c",
  "rgb": {
    "r": 87,
    "g": 19,
    "b": 108
  },
  "hsl": {
    "h": 285.843,
    "s": 70.079,
    "l": 24.902
  },
  "oklch": {
    "l": 0.34893,
    "c": 0.14864,
    "h": 316.5
  },
  "luminance": 0.03575
}

Semantic roles & 50–950 ramp

primary
#57136C
secondary
#51A338
accent
#ED3B65
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #57136C

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

Preview Lab → · Contrast checker → · Palette generator →

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