#57146A#57146A

#57146A is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.8% C 0.146 H 317.4°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#57146A
RGBrgb(87, 20, 106)
HSLhsl(287, 68%, 25%)
HSVhsv(287, 81%, 42%)
CMYKcmyk(17.9%, 81.1%, 0%, 58.4%)
CIE-LABlab(22.19, 42.78, -35.02)
CIE-LCHlch(22.19, 55.29, 320.70°)
OKLaboklab(34.83% 0.1073 -0.0986)
OKLCHoklch(34.83% 0.146 317.4)
XYZxyz(6.7818, 3.5675, 13.9642)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57146A #276A14
analogous
#2C146A #57146A #6A1452
triadic
#57146A #6A5714 #146A57
tetradic
#57146A #6A2C14 #276A14 #14526A
square
#57146A #6A2C14 #276A14 #14526A
split-complementary
#57146A #526A14 #146A2C
monochromatic
#15051A #2D0A37 #57146A #811E9D #AC27D1

Accessibility & contrast

On white

12.26
#57146A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#57146A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57146A
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57146A#FFFFFF#000000##FFFFFF
##57146A1.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #57146a;
/* rgb */ color: rgb(87, 20, 106);
/* oklch */ color: oklch(34.8% 0.146 317.4);
Tailwind
colors: {
  custom: {
    50: '#8a5a95',
    500: '#57146a',
    950: '#000000',
  },
}
SCSS
$custom: #57146a;
$custom-light: #8a5a95;
$custom-dark: #000000;
JSON
{
  "hex": "#57146a",
  "rgb": {
    "r": 87,
    "g": 20,
    "b": 106
  },
  "hsl": {
    "h": 286.744,
    "s": 68.254,
    "l": 24.706
  },
  "oklch": {
    "l": 0.34827,
    "c": 0.1457,
    "h": 317.4
  },
  "luminance": 0.03567
}

Semantic roles & 50–950 ramp

primary
#57146A
secondary
#50A139
accent
#EB3D63
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #57146A

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

Preview Lab → · Contrast checker → · Palette generator →

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