#57145B#57145B

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

Color values

HEX#57145B
RGBrgb(87, 20, 91)
HSLhsl(297, 64%, 22%)
HSVhsv(297, 78%, 36%)
CMYKcmyk(4.4%, 78%, 0%, 64.3%)
CIE-LABlab(21.14, 39.75, -26.82)
CIE-LCHlch(21.14, 47.96, 325.99°)
OKLaboklab(33.75% 0.1087 -0.0746)
OKLCHoklch(33.75% 0.132 325.5)
XYZxyz(6.0688, 3.2823, 10.2094)
Luminance0.0328 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57145B #185B14
analogous
#34145B #57145B #5B143C
triadic
#57145B #5B5714 #145B57
tetradic
#57145B #5B3414 #185B14 #143C5B
square
#57145B #5B3414 #185B14 #143C5B
split-complementary
#57145B #3C5B14 #145B34
monochromatic
#180619 #270929 #57145B #871F8D #B72ABF

Accessibility & contrast

On white

12.68
#57145B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #57145B
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57145B#FFFFFF#000000##FFFFFF
##57145B1.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012E5D
Deuteranopia (green-blind)
#233659
Tritanopia (blue-blind)
#592036
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #57145b;
/* rgb */ color: rgb(87, 20, 91);
/* oklch */ color: oklch(33.8% 0.132 325.5);
Tailwind
colors: {
  custom: {
    50: '#895a8a',
    500: '#57145b',
    950: '#000000',
  },
}
SCSS
$custom: #57145b;
$custom-light: #895a8a;
$custom-dark: #000000;
JSON
{
  "hex": "#57145b",
  "rgb": {
    "r": 87,
    "g": 20,
    "b": 91
  },
  "hsl": {
    "h": 296.62,
    "s": 63.964,
    "l": 21.765
  },
  "oklch": {
    "l": 0.3375,
    "c": 0.13186,
    "h": 325.5
  },
  "luminance": 0.03282
}

Semantic roles & 50–950 ramp

primary
#57145B
secondary
#3D9338
accent
#E7414A
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #57145B

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

Preview Lab → · Contrast checker → · Palette generator →

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