#57176F#57176F

#57176F is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.5% C 0.147 H 314.8°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#57176F
RGBrgb(87, 23, 111)
HSLhsl(284, 66%, 26%)
HSVhsv(284, 79%, 44%)
CMYKcmyk(21.6%, 79.3%, 0%, 56.5%)
CIE-LABlab(22.95, 42.73, -37.02)
CIE-LCHlch(22.95, 56.53, 319.09°)
OKLaboklab(35.49% 0.1036 -0.1045)
OKLCHoklch(35.49% 0.147 314.8)
XYZxyz(7.1056, 3.7870, 15.3925)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57176F #2F6F17
analogous
#2B176F #57176F #6F175B
triadic
#57176F #6F5717 #176F57
tetradic
#57176F #6F2B17 #2F6F17 #175B6F
square
#57176F #6F2B17 #2F6F17 #175B6F
split-complementary
#57176F #5B6F17 #176F2B
monochromatic
#140519 #2F0C3C #57176F #7F22A2 #A62DD3

Accessibility & contrast

On white

11.95
#57176F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#57176F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57176F
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57176F#FFFFFF#000000##FFFFFF
##57176F1.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003371
Deuteranopia (green-blind)
#12386D
Tritanopia (blue-blind)
#552B42
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #57176f;
/* rgb */ color: rgb(87, 23, 111);
/* oklch */ color: oklch(35.5% 0.147 314.8);
Tailwind
colors: {
  custom: {
    50: '#8a5c99',
    500: '#57176f',
    950: '#000000',
  },
}
SCSS
$custom: #57176f;
$custom-light: #8a5c99;
$custom-dark: #000000;
JSON
{
  "hex": "#57176f",
  "rgb": {
    "r": 87,
    "g": 23,
    "b": 111
  },
  "hsl": {
    "h": 283.636,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.35488,
    "c": 0.14716,
    "h": 314.8
  },
  "luminance": 0.03787
}

Semantic roles & 50–950 ramp

primary
#57176F
secondary
#59A53D
accent
#E93F6D
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #57176F

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

Preview Lab → · Contrast checker → · Palette generator →

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