#57155B#57155B

#57155B is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.8% C 0.131 H 325.5°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#57155B
RGBrgb(87, 21, 91)
HSLhsl(297, 63%, 22%)
HSVhsv(297, 77%, 36%)
CMYKcmyk(4.4%, 76.9%, 0%, 64.3%)
CIE-LABlab(21.28, 39.37, -26.61)
CIE-LCHlch(21.28, 47.52, 325.95°)
OKLaboklab(33.85% 0.1077 -0.074)
OKLCHoklch(33.85% 0.131 325.5)
XYZxyz(6.0868, 3.3183, 10.2154)
Luminance0.0332 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57155B #195B15
analogous
#34155B #57155B #5B153C
triadic
#57155B #5B5715 #155B57
tetradic
#57155B #5B3415 #195B15 #153C5B
square
#57155B #5B3415 #195B15 #153C5B
split-complementary
#57155B #3C5B15 #155B34
monochromatic
#180619 #270A29 #57155B #87208D #B62CBE

Accessibility & contrast

On white

12.62
#57155B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#57155B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57155B
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57155B#FFFFFF#000000##FFFFFF
##57155B1.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)
#032E5D
Deuteranopia (green-blind)
#243659
Tritanopia (blue-blind)
#592136
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #57155b;
/* rgb */ color: rgb(87, 21, 91);
/* oklch */ color: oklch(33.8% 0.131 325.5);
Tailwind
colors: {
  custom: {
    50: '#895a8a',
    500: '#57155b',
    950: '#000000',
  },
}
SCSS
$custom: #57155b;
$custom-light: #895a8a;
$custom-dark: #000000;
JSON
{
  "hex": "#57155b",
  "rgb": {
    "r": 87,
    "g": 21,
    "b": 91
  },
  "hsl": {
    "h": 296.571,
    "s": 62.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.33846,
    "c": 0.13063,
    "h": 325.5
  },
  "luminance": 0.03318
}

Semantic roles & 50–950 ramp

primary
#57155B
secondary
#3E9239
accent
#E6424C
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #57155B

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

Preview Lab → · Contrast checker → · Palette generator →

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