#57145E#57145E

#57145E is a dark, vivid purple. Relative luminance 0.033; OKLCH L 34.0% C 0.135 H 323.8°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#57145E
RGBrgb(87, 20, 94)
HSLhsl(294, 65%, 22%)
HSVhsv(294, 79%, 37%)
CMYKcmyk(7.4%, 78.7%, 0%, 63.1%)
CIE-LABlab(21.34, 40.34, -28.50)
CIE-LCHlch(21.34, 49.39, 324.76°)
OKLaboklab(33.96% 0.1086 -0.0795)
OKLCHoklch(33.96% 0.135 323.8)
XYZxyz(6.2008, 3.3351, 10.9046)
Luminance0.0333 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57145E #1B5E14
analogous
#32145E #57145E #5E1440
triadic
#57145E #5E5714 #145E57
tetradic
#57145E #5E3214 #1B5E14 #14405E
square
#57145E #5E3214 #1B5E14 #14405E
split-complementary
#57145E #405E14 #145E32
monochromatic
#170519 #28092C #57145E #861F90 #B429C3

Accessibility & contrast

On white

12.60
#57145E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#57145E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57145E
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57145E#FFFFFF#000000##FFFFFF
##57145E1.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E60
Deuteranopia (green-blind)
#21365C
Tritanopia (blue-blind)
#592138
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #57145e;
/* rgb */ color: rgb(87, 20, 94);
/* oklch */ color: oklch(34.0% 0.135 323.8);
Tailwind
colors: {
  custom: {
    50: '#895a8c',
    500: '#57145e',
    950: '#000000',
  },
}
SCSS
$custom: #57145e;
$custom-light: #895a8c;
$custom-dark: #000000;
JSON
{
  "hex": "#57145e",
  "rgb": {
    "r": 87,
    "g": 20,
    "b": 94
  },
  "hsl": {
    "h": 294.324,
    "s": 64.912,
    "l": 22.353
  },
  "oklch": {
    "l": 0.33955,
    "c": 0.13458,
    "h": 323.8
  },
  "luminance": 0.03335
}

Semantic roles & 50–950 ramp

primary
#57145E
secondary
#419638
accent
#E84050
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #57145E

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

Preview Lab → · Contrast checker → · Palette generator →

#57145E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva