#57156A#57156A

#57156A is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.9% C 0.145 H 317.3°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#57156A
RGBrgb(87, 21, 106)
HSLhsl(287, 67%, 25%)
HSVhsv(287, 80%, 42%)
CMYKcmyk(17.9%, 80.2%, 0%, 58.4%)
CIE-LABlab(22.31, 42.42, -34.81)
CIE-LCHlch(22.31, 54.87, 320.62°)
OKLaboklab(34.92% 0.1063 -0.098)
OKLCHoklch(34.92% 0.145 317.3)
XYZxyz(6.7998, 3.6035, 13.9702)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57156A #286A15
analogous
#2C156A #57156A #6A1553
triadic
#57156A #6A5715 #156A57
tetradic
#57156A #6A2C15 #286A15 #15536A
square
#57156A #6A2C15 #286A15 #15536A
split-complementary
#57156A #536A15 #156A2C
monochromatic
#15051A #2D0B37 #57156A #811F9D #AB29D0

Accessibility & contrast

On white

12.21
#57156A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#57156A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57156A
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57156A#FFFFFF#000000##FFFFFF
##57156A1.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316C
Deuteranopia (green-blind)
#173768
Tritanopia (blue-blind)
#56283F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #57156a;
/* rgb */ color: rgb(87, 21, 106);
/* oklch */ color: oklch(34.9% 0.145 317.3);
Tailwind
colors: {
  custom: {
    50: '#8a5b95',
    500: '#57156a',
    950: '#000000',
  },
}
SCSS
$custom: #57156a;
$custom-light: #8a5b95;
$custom-dark: #000000;
JSON
{
  "hex": "#57156a",
  "rgb": {
    "r": 87,
    "g": 21,
    "b": 106
  },
  "hsl": {
    "h": 286.588,
    "s": 66.929,
    "l": 24.902
  },
  "oklch": {
    "l": 0.34917,
    "c": 0.1446,
    "h": 317.3
  },
  "luminance": 0.03603
}

Semantic roles & 50–950 ramp

primary
#57156A
secondary
#51A13A
accent
#EA3E64
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #57156A

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

Preview Lab → · Contrast checker → · Palette generator →

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