#57135C#57135C

#57135C is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.7% C 0.134 H 325.0°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#57135C
RGBrgb(87, 19, 92)
HSLhsl(296, 66%, 22%)
HSVhsv(296, 79%, 36%)
CMYKcmyk(5.4%, 79.3%, 0%, 63.9%)
CIE-LABlab(21.08, 40.32, -27.59)
CIE-LCHlch(21.08, 48.86, 325.61°)
OKLaboklab(33.72% 0.1097 -0.0768)
OKLCHoklch(33.72% 0.134 325)
XYZxyz(6.0950, 3.2651, 10.4323)
Luminance0.0326 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57135C #185C13
analogous
#33135C #57135C #5C133D
triadic
#57135C #5C5713 #135C57
tetradic
#57135C #5C3313 #185C13 #133D5C
square
#57135C #5C3313 #185C13 #133D5C
split-complementary
#57135C #3D5C13 #135C33
monochromatic
#180519 #270929 #57135C #871D8F #B728C1

Accessibility & contrast

On white

12.70
#57135C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #57135C
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57135C#FFFFFF#000000##FFFFFF
##57135C1.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D5E
Deuteranopia (green-blind)
#22355A
Tritanopia (blue-blind)
#592036
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #57135c;
/* rgb */ color: rgb(87, 19, 92);
/* oklch */ color: oklch(33.7% 0.134 325.0);
Tailwind
colors: {
  custom: {
    50: '#89598a',
    500: '#57135c',
    950: '#000000',
  },
}
SCSS
$custom: #57135c;
$custom-light: #89598a;
$custom-dark: #000000;
JSON
{
  "hex": "#57135c",
  "rgb": {
    "r": 87,
    "g": 19,
    "b": 92
  },
  "hsl": {
    "h": 295.89,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.33724,
    "c": 0.13395,
    "h": 325
  },
  "luminance": 0.03265
}

Semantic roles & 50–950 ramp

primary
#57135C
secondary
#3D9437
accent
#E93F4B
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #57135C

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

Preview Lab → · Contrast checker → · Palette generator →

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