#57145F#57145F

#57145F is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.0% C 0.136 H 323.2°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#57145F
RGBrgb(87, 20, 95)
HSLhsl(294, 65%, 23%)
HSVhsv(294, 79%, 37%)
CMYKcmyk(8.4%, 78.9%, 0%, 62.7%)
CIE-LABlab(21.41, 40.54, -29.06)
CIE-LCHlch(21.41, 49.88, 324.37°)
OKLaboklab(34.02% 0.1085 -0.0811)
OKLCHoklch(34.02% 0.136 323.2)
XYZxyz(6.2460, 3.3531, 11.1425)
Luminance0.0335 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57145F #1C5F14
analogous
#32145F #57145F #5F1441
triadic
#57145F #5F5714 #145F57
tetradic
#57145F #5F3214 #1C5F14 #14415F
square
#57145F #5F3214 #1C5F14 #14415F
split-complementary
#57145F #415F14 #145F32
monochromatic
#170519 #29092C #57145F #851F92 #B429C4

Accessibility & contrast

On white

12.57
#57145F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #57145F
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57145F#FFFFFF#000000##FFFFFF
##57145F1.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E61
Deuteranopia (green-blind)
#21365D
Tritanopia (blue-blind)
#582238
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #57145f;
/* rgb */ color: rgb(87, 20, 95);
/* oklch */ color: oklch(34.0% 0.136 323.2);
Tailwind
colors: {
  custom: {
    50: '#895a8d',
    500: '#57145f',
    950: '#000000',
  },
}
SCSS
$custom: #57145f;
$custom-light: #895a8d;
$custom-dark: #000000;
JSON
{
  "hex": "#57145f",
  "rgb": {
    "r": 87,
    "g": 20,
    "b": 95
  },
  "hsl": {
    "h": 293.6,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.34024,
    "c": 0.1355,
    "h": 323.2
  },
  "luminance": 0.03353
}

Semantic roles & 50–950 ramp

primary
#57145F
secondary
#429738
accent
#E84052
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #57145F

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

Preview Lab → · Contrast checker → · Palette generator →

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