#57135A#57135A

#57135A is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.6% C 0.132 H 326.2°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#57135A
RGBrgb(87, 19, 90)
HSLhsl(297, 65%, 21%)
HSVhsv(297, 79%, 35%)
CMYKcmyk(3.3%, 78.9%, 0%, 64.7%)
CIE-LABlab(20.94, 39.94, -26.47)
CIE-LCHlch(20.94, 47.91, 326.46°)
OKLaboklab(33.59% 0.1098 -0.0736)
OKLCHoklch(33.59% 0.132 326.2)
XYZxyz(6.0087, 3.2306, 9.9780)
Luminance0.0323 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57135A #165A13
analogous
#34135A #57135A #5A133A
triadic
#57135A #5A5713 #135A57
tetradic
#57135A #5A3413 #165A13 #133A5A
square
#57135A #5A3413 #165A13 #133A5A
split-complementary
#57135A #3A5A13 #135A34
monochromatic
#180519 #260827 #57135A #881E8D #B928BF

Accessibility & contrast

On white

12.76
#57135A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #57135A
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57135A#FFFFFF#000000##FFFFFF
##57135A1.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012D5C
Deuteranopia (green-blind)
#243558
Tritanopia (blue-blind)
#591F35
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #57135a;
/* rgb */ color: rgb(87, 19, 90);
/* oklch */ color: oklch(33.6% 0.132 326.2);
Tailwind
colors: {
  custom: {
    50: '#895989',
    500: '#57135a',
    950: '#000000',
  },
}
SCSS
$custom: #57135a;
$custom-light: #895989;
$custom-dark: #000000;
JSON
{
  "hex": "#57135a",
  "rgb": {
    "r": 87,
    "g": 19,
    "b": 90
  },
  "hsl": {
    "h": 297.465,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.33589,
    "c": 0.13217,
    "h": 326.2
  },
  "luminance": 0.0323
}

Semantic roles & 50–950 ramp

primary
#57135A
secondary
#3A9237
accent
#E84047
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #57135A

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

Preview Lab → · Contrast checker → · Palette generator →

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