#57135B#57135B

#57135B is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.7% C 0.133 H 325.6°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#57135B
RGBrgb(87, 19, 91)
HSLhsl(297, 65%, 22%)
HSVhsv(297, 79%, 36%)
CMYKcmyk(4.4%, 79.1%, 0%, 64.3%)
CIE-LABlab(21.01, 40.13, -27.03)
CIE-LCHlch(21.01, 48.39, 326.03°)
OKLaboklab(33.66% 0.1098 -0.0752)
OKLCHoklch(33.66% 0.133 325.6)
XYZxyz(6.0515, 3.2477, 10.2036)
Luminance0.0325 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57135B #175B13
analogous
#33135B #57135B #5B133B
triadic
#57135B #5B5713 #135B57
tetradic
#57135B #5B3313 #175B13 #133B5B
square
#57135B #5B3313 #175B13 #133B5B
split-complementary
#57135B #3B5B13 #135B33
monochromatic
#180519 #270828 #57135B #871E8E #B828C0

Accessibility & contrast

On white

12.73
#57135B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#57135B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57135B
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57135B#FFFFFF#000000##FFFFFF
##57135B1.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D5D
Deuteranopia (green-blind)
#233559
Tritanopia (blue-blind)
#591F36
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #57135b;
/* rgb */ color: rgb(87, 19, 91);
/* oklch */ color: oklch(33.7% 0.133 325.6);
Tailwind
colors: {
  custom: {
    50: '#89598a',
    500: '#57135b',
    950: '#000000',
  },
}
SCSS
$custom: #57135b;
$custom-light: #89598a;
$custom-dark: #000000;
JSON
{
  "hex": "#57135b",
  "rgb": {
    "r": 87,
    "g": 19,
    "b": 91
  },
  "hsl": {
    "h": 296.667,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33656,
    "c": 0.13306,
    "h": 325.6
  },
  "luminance": 0.03247
}

Semantic roles & 50–950 ramp

primary
#57135B
secondary
#3C9337
accent
#E83F49
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #57135B

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

Preview Lab → · Contrast checker → · Palette generator →

#57135B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva