#57156C#57156C

#57156C is a dark, vivid purple. Relative luminance 0.036; OKLCH L 35.1% C 0.147 H 316.4°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#57156C
RGBrgb(87, 21, 108)
HSLhsl(286, 67%, 25%)
HSVhsv(286, 81%, 42%)
CMYKcmyk(19.4%, 80.6%, 0%, 57.6%)
CIE-LABlab(22.46, 42.84, -35.87)
CIE-LCHlch(22.46, 55.88, 320.06°)
OKLaboklab(35.07% 0.106 -0.1011)
OKLCHoklch(35.07% 0.147 316.4)
XYZxyz(6.9050, 3.6456, 14.5244)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57156C #2A6C15
analogous
#2B156C #57156C #6C1555
triadic
#57156C #6C5715 #156C57
tetradic
#57156C #6C2B15 #2A6C15 #15556C
square
#57156C #6C2B15 #2A6C15 #15556C
split-complementary
#57156C #556C15 #156C2B
monochromatic
#15051A #2E0B39 #57156C #801F9F #AA29D2

Accessibility & contrast

On white

12.15
#57156C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#57156C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57156C
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57156C#FFFFFF#000000##FFFFFF
##57156C1.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326E
Deuteranopia (green-blind)
#15376A
Tritanopia (blue-blind)
#562840
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #57156c;
/* rgb */ color: rgb(87, 21, 108);
/* oklch */ color: oklch(35.1% 0.147 316.4);
Tailwind
colors: {
  custom: {
    50: '#8a5b97',
    500: '#57156c',
    950: '#000000',
  },
}
SCSS
$custom: #57156c;
$custom-light: #8a5b97;
$custom-dark: #000000;
JSON
{
  "hex": "#57156c",
  "rgb": {
    "r": 87,
    "g": 21,
    "b": 108
  },
  "hsl": {
    "h": 285.517,
    "s": 67.442,
    "l": 25.294
  },
  "oklch": {
    "l": 0.35069,
    "c": 0.14651,
    "h": 316.4
  },
  "luminance": 0.03645
}

Semantic roles & 50–950 ramp

primary
#57156C
secondary
#53A33A
accent
#EA3D67
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #57156C

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

Preview Lab → · Contrast checker → · Palette generator →

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