#57145C#57145C

#57145C is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.8% C 0.133 H 324.9°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#57145C
RGBrgb(87, 20, 92)
HSLhsl(296, 64%, 22%)
HSVhsv(296, 78%, 36%)
CMYKcmyk(5.4%, 78.3%, 0%, 63.9%)
CIE-LABlab(21.21, 39.95, -27.39)
CIE-LCHlch(21.21, 48.44, 325.57°)
OKLaboklab(33.82% 0.1087 -0.0762)
OKLCHoklch(33.82% 0.133 324.9)
XYZxyz(6.1123, 3.2996, 10.4381)
Luminance0.0330 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57145C #195C14
analogous
#33145C #57145C #5C143D
triadic
#57145C #5C5714 #145C57
tetradic
#57145C #5C3314 #195C14 #143D5C
square
#57145C #5C3314 #195C14 #143D5C
split-complementary
#57145C #3D5C14 #145C33
monochromatic
#180519 #27092A #57145C #871F8E #B62AC1

Accessibility & contrast

On white

12.65
#57145C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#57145C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57145C
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57145C#FFFFFF#000000##FFFFFF
##57145C1.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E5E
Deuteranopia (green-blind)
#23365A
Tritanopia (blue-blind)
#592137
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #57145c;
/* rgb */ color: rgb(87, 20, 92);
/* oklch */ color: oklch(33.8% 0.133 324.9);
Tailwind
colors: {
  custom: {
    50: '#895a8a',
    500: '#57145c',
    950: '#000000',
  },
}
SCSS
$custom: #57145c;
$custom-light: #895a8a;
$custom-dark: #000000;
JSON
{
  "hex": "#57145c",
  "rgb": {
    "r": 87,
    "g": 20,
    "b": 92
  },
  "hsl": {
    "h": 295.833,
    "s": 64.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.33817,
    "c": 0.13277,
    "h": 324.9
  },
  "luminance": 0.03299
}

Semantic roles & 50–950 ramp

primary
#57145C
secondary
#3E9438
accent
#E7414C
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #57145C

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

Preview Lab → · Contrast checker → · Palette generator →

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