#57174F#57174F

#57174F is a dark, moderate purple. Relative luminance 0.032; OKLCH L 33.3% C 0.117 H 333.3°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#57174F
RGBrgb(87, 23, 79)
HSLhsl(308, 58%, 22%)
HSVhsv(308, 74%, 34%)
CMYKcmyk(0%, 73.6%, 9.2%, 65.9%)
CIE-LABlab(20.84, 36.31, -19.24)
CIE-LCHlch(20.84, 41.09, 332.08°)
OKLaboklab(33.3% 0.1048 -0.0527)
OKLCHoklch(33.3% 0.117 333.3)
XYZxyz(5.6482, 3.2040, 7.7166)
Luminance0.0320 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57174F #17571F
analogous
#3F1757 #57174F #57172F
triadic
#57174F #4F5717 #174F57
tetradic
#57174F #573F17 #17571F #172F57
square
#57174F #573F17 #17571F #172F57
split-complementary
#57174F #2F5717 #17573F
monochromatic
#180616 #270A23 #57174F #87247B #B831A7

Accessibility & contrast

On white

12.80
#57174F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#57174F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57174F
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57174F#FFFFFF#000000##FFFFFF
##57174F1.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152C51
Deuteranopia (green-blind)
#2B354D
Tritanopia (blue-blind)
#5B1D31
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #57174f;
/* rgb */ color: rgb(87, 23, 79);
/* oklch */ color: oklch(33.3% 0.117 333.3);
Tailwind
colors: {
  custom: {
    50: '#895a80',
    500: '#57174f',
    950: '#000000',
  },
}
SCSS
$custom: #57174f;
$custom-light: #895a80;
$custom-dark: #000000;
JSON
{
  "hex": "#57174f",
  "rgb": {
    "r": 87,
    "g": 23,
    "b": 79
  },
  "hsl": {
    "h": 307.5,
    "s": 58.182,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33301,
    "c": 0.11733,
    "h": 333.3
  },
  "luminance": 0.03204
}

Semantic roles & 50–950 ramp

primary
#57174F
secondary
#3C8E46
accent
#E15A46
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #57174F

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

Preview Lab → · Contrast checker → · Palette generator →

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