#59176F#59176F

#59176F is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.8% C 0.148 H 316.0°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#59176F
RGBrgb(89, 23, 111)
HSLhsl(285, 66%, 26%)
HSVhsv(285, 79%, 44%)
CMYKcmyk(19.8%, 79.3%, 0%, 56.5%)
CIE-LABlab(23.29, 43.15, -36.47)
CIE-LCHlch(23.29, 56.50, 319.79°)
OKLaboklab(35.79% 0.1064 -0.1028)
OKLCHoklch(35.79% 0.148 316)
XYZxyz(7.2950, 3.8846, 15.4014)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59176F #2D6F17
analogous
#2D176F #59176F #6F1759
triadic
#59176F #6F5917 #176F59
tetradic
#59176F #6F2D17 #2D6F17 #17596F
square
#59176F #6F2D17 #2D6F17 #17596F
split-complementary
#59176F #596F17 #176F2D
monochromatic
#140519 #300C3C #59176F #8222A2 #AA2DD3

Accessibility & contrast

On white

11.82
#59176F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#59176F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59176F
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59176F#FFFFFF#000000##FFFFFF
##59176F1.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003471
Deuteranopia (green-blind)
#16396D
Tritanopia (blue-blind)
#572A42
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #59176f;
/* rgb */ color: rgb(89, 23, 111);
/* oklch */ color: oklch(35.8% 0.148 316.0);
Tailwind
colors: {
  custom: {
    50: '#8b5c99',
    500: '#59176f',
    950: '#000000',
  },
}
SCSS
$custom: #59176f;
$custom-light: #8b5c99;
$custom-dark: #000000;
JSON
{
  "hex": "#59176f",
  "rgb": {
    "r": 89,
    "g": 23,
    "b": 111
  },
  "hsl": {
    "h": 285,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.35789,
    "c": 0.14792,
    "h": 316
  },
  "luminance": 0.03884
}

Semantic roles & 50–950 ramp

primary
#59176F
secondary
#57A53D
accent
#E93F6A
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #59176F

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

Preview Lab → · Contrast checker → · Palette generator →

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