#57135F#57135F

#57135F is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.9% C 0.137 H 323.3°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#57135F
RGBrgb(87, 19, 95)
HSLhsl(294, 67%, 22%)
HSVhsv(294, 80%, 37%)
CMYKcmyk(8.4%, 80%, 0%, 62.7%)
CIE-LABlab(21.28, 40.91, -29.26)
CIE-LCHlch(21.28, 50.30, 324.42°)
OKLaboklab(33.93% 0.1095 -0.0817)
OKLCHoklch(33.93% 0.137 323.3)
XYZxyz(6.2287, 3.3186, 11.1367)
Luminance0.0332 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57135F #1B5F13
analogous
#31135F #57135F #5F1341
triadic
#57135F #5F5713 #135F57
tetradic
#57135F #5F3113 #1B5F13 #13415F
square
#57135F #5F3113 #1B5F13 #13415F
split-complementary
#57135F #415F13 #135F31
monochromatic
#17051A #28092C #57135F #861D92 #B427C5

Accessibility & contrast

On white

12.62
#57135F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#57135F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57135F
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57135F#FFFFFF#000000##FFFFFF
##57135F1.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E61
Deuteranopia (green-blind)
#20365D
Tritanopia (blue-blind)
#582138
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #57135f;
/* rgb */ color: rgb(87, 19, 95);
/* oklch */ color: oklch(33.9% 0.137 323.3);
Tailwind
colors: {
  custom: {
    50: '#89598d',
    500: '#57135f',
    950: '#000000',
  },
}
SCSS
$custom: #57135f;
$custom-light: #89598d;
$custom-dark: #000000;
JSON
{
  "hex": "#57135f",
  "rgb": {
    "r": 87,
    "g": 19,
    "b": 95
  },
  "hsl": {
    "h": 293.684,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.33932,
    "c": 0.13665,
    "h": 323.3
  },
  "luminance": 0.03318
}

Semantic roles & 50–950 ramp

primary
#57135F
secondary
#419737
accent
#EA3E50
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #57135F

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

Preview Lab → · Contrast checker → · Palette generator →

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