#57155C#57155C

#57155C is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.9% C 0.132 H 324.9°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#57155C
RGBrgb(87, 21, 92)
HSLhsl(296, 63%, 22%)
HSVhsv(296, 77%, 36%)
CMYKcmyk(5.4%, 77.2%, 0%, 63.9%)
CIE-LABlab(21.34, 39.56, -27.17)
CIE-LCHlch(21.34, 48.00, 325.52°)
OKLaboklab(33.91% 0.1076 -0.0756)
OKLCHoklch(33.91% 0.132 324.9)
XYZxyz(6.1303, 3.3357, 10.4441)
Luminance0.0333 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57155C #1A5C15
analogous
#34155C #57155C #5C153D
triadic
#57155C #5C5715 #155C57
tetradic
#57155C #5C3415 #1A5C15 #153D5C
square
#57155C #5C3415 #1A5C15 #153D5C
split-complementary
#57155C #3D5C15 #155C34
monochromatic
#180619 #280A2A #57155C #86208E #B52CC0

Accessibility & contrast

On white

12.60
#57155C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#57155C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57155C
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57155C#FFFFFF#000000##FFFFFF
##57155C1.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022E5E
Deuteranopia (green-blind)
#23365A
Tritanopia (blue-blind)
#592137
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #57155c;
/* rgb */ color: rgb(87, 21, 92);
/* oklch */ color: oklch(33.9% 0.132 324.9);
Tailwind
colors: {
  custom: {
    50: '#895a8a',
    500: '#57155c',
    950: '#000000',
  },
}
SCSS
$custom: #57155c;
$custom-light: #895a8a;
$custom-dark: #000000;
JSON
{
  "hex": "#57155c",
  "rgb": {
    "r": 87,
    "g": 21,
    "b": 92
  },
  "hsl": {
    "h": 295.775,
    "s": 62.832,
    "l": 22.157
  },
  "oklch": {
    "l": 0.33914,
    "c": 0.13154,
    "h": 324.9
  },
  "luminance": 0.03335
}

Semantic roles & 50–950 ramp

primary
#57155C
secondary
#409339
accent
#E6424D
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #57155C

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

Preview Lab → · Contrast checker → · Palette generator →

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