#59176C#59176C

#59176C is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.6% C 0.145 H 317.4°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#59176C
RGBrgb(89, 23, 108)
HSLhsl(287, 65%, 26%)
HSVhsv(287, 79%, 42%)
CMYKcmyk(17.6%, 78.7%, 0%, 57.6%)
CIE-LABlab(23.07, 42.51, -34.89)
CIE-LCHlch(23.07, 54.99, 320.63°)
OKLaboklab(35.56% 0.1068 -0.0981)
OKLCHoklch(35.56% 0.145 317.4)
XYZxyz(7.1326, 3.8197, 14.5460)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59176C #2A6C17
analogous
#2E176C #59176C #6C1754
triadic
#59176C #6C5917 #176C59
tetradic
#59176C #6C2E17 #2A6C17 #17546C
square
#59176C #6C2E17 #2A6C17 #17546C
split-complementary
#59176C #546C17 #176C2E
monochromatic
#150519 #2F0C3A #59176C #83229E #AC2CD1

Accessibility & contrast

On white

11.91
#59176C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#59176C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59176C
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59176C#FFFFFF#000000##FFFFFF
##59176C1.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336E
Deuteranopia (green-blind)
#19396A
Tritanopia (blue-blind)
#582940
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #59176c;
/* rgb */ color: rgb(89, 23, 108);
/* oklch */ color: oklch(35.6% 0.145 317.4);
Tailwind
colors: {
  custom: {
    50: '#8b5c97',
    500: '#59176c',
    950: '#000000',
  },
}
SCSS
$custom: #59176c;
$custom-light: #8b5c97;
$custom-dark: #000000;
JSON
{
  "hex": "#59176c",
  "rgb": {
    "r": 89,
    "g": 23,
    "b": 108
  },
  "hsl": {
    "h": 286.588,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.35564,
    "c": 0.14504,
    "h": 317.4
  },
  "luminance": 0.03819
}

Semantic roles & 50–950 ramp

primary
#59176C
secondary
#53A23D
accent
#E84065
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #59176C

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

Preview Lab → · Contrast checker → · Palette generator →

#59176C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva