#57146C#57146C

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

Color values

HEX#57146C
RGBrgb(87, 20, 108)
HSLhsl(286, 69%, 25%)
HSVhsv(286, 81%, 42%)
CMYKcmyk(19.4%, 81.5%, 0%, 57.6%)
CIE-LABlab(22.34, 43.21, -36.08)
CIE-LCHlch(22.34, 56.29, 320.14°)
OKLaboklab(34.98% 0.107 -0.1017)
OKLCHoklch(34.98% 0.148 316.4)
XYZxyz(6.8870, 3.6095, 14.5184)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57146C #296C14
analogous
#2B146C #57146C #6C1455
triadic
#57146C #6C5714 #146C57
tetradic
#57146C #6C2B14 #296C14 #14556C
square
#57146C #6C2B14 #296C14 #14556C
split-complementary
#57146C #556C14 #146C2B
monochromatic
#15051A #2D0A38 #57146C #811EA0 #AA27D3

Accessibility & contrast

On white

12.20
#57146C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #57146C
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57146C#FFFFFF#000000##FFFFFF
##57146C1.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316E
Deuteranopia (green-blind)
#14376A
Tritanopia (blue-blind)
#562840
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #57146c;
/* rgb */ color: rgb(87, 20, 108);
/* oklch */ color: oklch(35.0% 0.148 316.4);
Tailwind
colors: {
  custom: {
    50: '#8a5a97',
    500: '#57146c',
    950: '#000000',
  },
}
SCSS
$custom: #57146c;
$custom-light: #8a5a97;
$custom-dark: #000000;
JSON
{
  "hex": "#57146c",
  "rgb": {
    "r": 87,
    "g": 20,
    "b": 108
  },
  "hsl": {
    "h": 285.682,
    "s": 68.75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.3498,
    "c": 0.14759,
    "h": 316.4
  },
  "luminance": 0.03609
}

Semantic roles & 50–950 ramp

primary
#57146C
secondary
#52A339
accent
#EC3C66
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #57146C

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

Preview Lab → · Contrast checker → · Palette generator →

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