#57176A#57176A

#57176A is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.1% C 0.142 H 317.2°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#57176A
RGBrgb(87, 23, 106)
HSLhsl(286, 64%, 25%)
HSVhsv(286, 78%, 42%)
CMYKcmyk(17.9%, 78.3%, 0%, 58.4%)
CIE-LABlab(22.58, 41.65, -34.38)
CIE-LCHlch(22.58, 54.00, 320.46°)
OKLaboklab(35.11% 0.1044 -0.0967)
OKLCHoklch(35.11% 0.142 317.2)
XYZxyz(6.8380, 3.6799, 13.9830)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57176A #2A6A17
analogous
#2D176A #57176A #6A1753
triadic
#57176A #6A5717 #176A57
tetradic
#57176A #6A2D17 #2A6A17 #17536A
square
#57176A #6A2D17 #2A6A17 #17536A
split-complementary
#57176A #536A17 #176A2D
monochromatic
#150519 #2E0C38 #57176A #80229C #AA2DCF

Accessibility & contrast

On white

12.10
#57176A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#57176A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57176A
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57176A#FFFFFF#000000##FFFFFF
##57176A1.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326C
Deuteranopia (green-blind)
#193868
Tritanopia (blue-blind)
#56293F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #57176a;
/* rgb */ color: rgb(87, 23, 106);
/* oklch */ color: oklch(35.1% 0.142 317.2);
Tailwind
colors: {
  custom: {
    50: '#8a5c95',
    500: '#57176a',
    950: '#000000',
  },
}
SCSS
$custom: #57176a;
$custom-light: #8a5c95;
$custom-dark: #000000;
JSON
{
  "hex": "#57176a",
  "rgb": {
    "r": 87,
    "g": 23,
    "b": 106
  },
  "hsl": {
    "h": 286.265,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.35108,
    "c": 0.14229,
    "h": 317.2
  },
  "luminance": 0.0368
}

Semantic roles & 50–950 ramp

primary
#57176A
secondary
#53A03D
accent
#E74067
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #57176A

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

Preview Lab → · Contrast checker → · Palette generator →

#57176A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva