#57176D#57176D

#57176D is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.3% C 0.145 H 315.7°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#57176D
RGBrgb(87, 23, 109)
HSLhsl(285, 65%, 26%)
HSVhsv(285, 79%, 43%)
CMYKcmyk(20.2%, 78.9%, 0%, 57.3%)
CIE-LABlab(22.80, 42.29, -35.97)
CIE-LCHlch(22.80, 55.52, 319.62°)
OKLaboklab(35.33% 0.1039 -0.1014)
OKLCHoklch(35.33% 0.145 315.7)
XYZxyz(6.9968, 3.7434, 14.8190)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57176D #2D6D17
analogous
#2C176D #57176D #6D1758
triadic
#57176D #6D5717 #176D57
tetradic
#57176D #6D2C17 #2D6D17 #17586D
square
#57176D #6D2C17 #2D6D17 #17586D
split-complementary
#57176D #586D17 #176D2C
monochromatic
#140519 #2F0C3A #57176D #7F22A0 #A82CD2

Accessibility & contrast

On white

12.01
#57176D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#57176D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57176D
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57176D#FFFFFF#000000##FFFFFF
##57176D1.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336F
Deuteranopia (green-blind)
#15386B
Tritanopia (blue-blind)
#552A41
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #57176d;
/* rgb */ color: rgb(87, 23, 109);
/* oklch */ color: oklch(35.3% 0.145 315.7);
Tailwind
colors: {
  custom: {
    50: '#8a5c97',
    500: '#57176d',
    950: '#000000',
  },
}
SCSS
$custom: #57176d;
$custom-light: #8a5c97;
$custom-dark: #000000;
JSON
{
  "hex": "#57176d",
  "rgb": {
    "r": 87,
    "g": 23,
    "b": 109
  },
  "hsl": {
    "h": 284.651,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.35334,
    "c": 0.14521,
    "h": 315.7
  },
  "luminance": 0.03743
}

Semantic roles & 50–950 ramp

primary
#57176D
secondary
#57A33D
accent
#E8406B
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #57176D

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

Preview Lab → · Contrast checker → · Palette generator →

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