#57146F#57146F

#57146F is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.2% C 0.150 H 315.0°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#57146F
RGBrgb(87, 20, 111)
HSLhsl(284, 69%, 26%)
HSVhsv(284, 82%, 44%)
CMYKcmyk(21.6%, 82%, 0%, 56.5%)
CIE-LABlab(22.56, 43.85, -37.65)
CIE-LCHlch(22.56, 57.80, 319.35°)
OKLaboklab(35.21% 0.1064 -0.1063)
OKLCHoklch(35.21% 0.15 315)
XYZxyz(7.0494, 3.6745, 15.3738)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57146F #2C6F14
analogous
#29146F #57146F #6F1459
triadic
#57146F #6F5714 #146F57
tetradic
#57146F #6F2914 #2C6F14 #14596F
square
#57146F #6F2914 #2C6F14 #14596F
split-complementary
#57146F #596F14 #146F29
monochromatic
#14051A #2E0B3B #57146F #801DA3 #A827D7

Accessibility & contrast

On white

12.11
#57146F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#57146F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57146F
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57146F#FFFFFF#000000##FFFFFF
##57146F1.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003271
Deuteranopia (green-blind)
#0F386D
Tritanopia (blue-blind)
#552941
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #57146f;
/* rgb */ color: rgb(87, 20, 111);
/* oklch */ color: oklch(35.2% 0.150 315.0);
Tailwind
colors: {
  custom: {
    50: '#8a5b99',
    500: '#57146f',
    950: '#000000',
  },
}
SCSS
$custom: #57146f;
$custom-light: #8a5b99;
$custom-dark: #000000;
JSON
{
  "hex": "#57146f",
  "rgb": {
    "r": 87,
    "g": 20,
    "b": 111
  },
  "hsl": {
    "h": 284.176,
    "s": 69.466,
    "l": 25.686
  },
  "oklch": {
    "l": 0.35213,
    "c": 0.15043,
    "h": 315
  },
  "luminance": 0.03674
}

Semantic roles & 50–950 ramp

primary
#57146F
secondary
#56A639
accent
#EC3C6A
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #57146F

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

Preview Lab → · Contrast checker → · Palette generator →

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