#57146B#57146B

#57146B is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.9% C 0.147 H 316.9°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#57146B
RGBrgb(87, 20, 107)
HSLhsl(286, 69%, 25%)
HSVhsv(286, 81%, 42%)
CMYKcmyk(18.7%, 81.3%, 0%, 58%)
CIE-LABlab(22.26, 43.00, -35.55)
CIE-LCHlch(22.26, 55.79, 320.41°)
OKLaboklab(34.9% 0.1071 -0.1001)
OKLCHoklch(34.9% 0.147 316.9)
XYZxyz(6.8341, 3.5884, 14.2397)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57146B #286B14
analogous
#2C146B #57146B #6B1453
triadic
#57146B #6B5714 #146B57
tetradic
#57146B #6B2C14 #286B14 #14536B
square
#57146B #6B2C14 #286B14 #14536B
split-complementary
#57146B #536B14 #146B2C
monochromatic
#15051A #2D0A37 #57146B #811E9F #AB27D2

Accessibility & contrast

On white

12.23
#57146B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#57146B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57146B
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57146B#FFFFFF#000000##FFFFFF
##57146B1.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #57146b;
/* rgb */ color: rgb(87, 20, 107);
/* oklch */ color: oklch(34.9% 0.147 316.9);
Tailwind
colors: {
  custom: {
    50: '#8a5a96',
    500: '#57146b',
    950: '#000000',
  },
}
SCSS
$custom: #57146b;
$custom-light: #8a5a96;
$custom-dark: #000000;
JSON
{
  "hex": "#57146b",
  "rgb": {
    "r": 87,
    "g": 20,
    "b": 107
  },
  "hsl": {
    "h": 286.207,
    "s": 68.504,
    "l": 24.902
  },
  "oklch": {
    "l": 0.34903,
    "c": 0.14665,
    "h": 316.9
  },
  "luminance": 0.03588
}

Semantic roles & 50–950 ramp

primary
#57146B
secondary
#51A239
accent
#EB3C65
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #57146B

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

Preview Lab → · Contrast checker → · Palette generator →

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