#57154E#57154E

#57154E is a dark, moderate purple. Relative luminance 0.031; OKLCH L 33.0% C 0.119 H 334.0°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#57154E
RGBrgb(87, 21, 78)
HSLhsl(308, 61%, 21%)
HSVhsv(308, 76%, 34%)
CMYKcmyk(0%, 75.9%, 10.3%, 65.9%)
CIE-LABlab(20.49, 36.97, -19.12)
CIE-LCHlch(20.49, 41.62, 332.65°)
OKLaboklab(33.03% 0.1072 -0.0523)
OKLCHoklch(33.03% 0.119 334)
XYZxyz(5.5738, 3.1131, 7.5136)
Luminance0.0311 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57154E #15571E
analogous
#3F1557 #57154E #57152D
triadic
#57154E #4E5715 #154E57
tetradic
#57154E #573F15 #15571E #152D57
square
#57154E #573F15 #15571E #152D57
split-complementary
#57154E #2D5715 #15573F
monochromatic
#190616 #260922 #57154E #88217A #BA2DA6

Accessibility & contrast

On white

12.94
#57154E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#57154E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57154E
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57154E#FFFFFF#000000##FFFFFF
##57154E1.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142B50
Deuteranopia (green-blind)
#2B354C
Tritanopia (blue-blind)
#5B1B2F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #57154e;
/* rgb */ color: rgb(87, 21, 78);
/* oklch */ color: oklch(33.0% 0.119 334.0);
Tailwind
colors: {
  custom: {
    50: '#895980',
    500: '#57154e',
    950: '#000000',
  },
}
SCSS
$custom: #57154e;
$custom-light: #895980;
$custom-dark: #000000;
JSON
{
  "hex": "#57154e",
  "rgb": {
    "r": 87,
    "g": 21,
    "b": 78
  },
  "hsl": {
    "h": 308.182,
    "s": 61.111,
    "l": 21.176
  },
  "oklch": {
    "l": 0.33028,
    "c": 0.11925,
    "h": 334
  },
  "luminance": 0.03113
}

Semantic roles & 50–950 ramp

primary
#57154E
secondary
#398F45
accent
#E45944
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #57154E

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

Preview Lab → · Contrast checker → · Palette generator →

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