#59166C#59166C

#59166C is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.5% C 0.146 H 317.5°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#59166C
RGBrgb(89, 22, 108)
HSLhsl(287, 66%, 25%)
HSVhsv(287, 80%, 42%)
CMYKcmyk(17.6%, 79.6%, 0%, 57.6%)
CIE-LABlab(22.93, 42.89, -35.10)
CIE-LCHlch(22.93, 55.42, 320.71°)
OKLaboklab(35.47% 0.1078 -0.0988)
OKLCHoklch(35.47% 0.146 317.5)
XYZxyz(7.1131, 3.7807, 14.5395)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59166C #296C16
analogous
#2E166C #59166C #6C1654
triadic
#59166C #6C5916 #166C59
tetradic
#59166C #6C2E16 #296C16 #16546C
square
#59166C #6C2E16 #296C16 #16546C
split-complementary
#59166C #546C16 #166C2E
monochromatic
#150519 #2F0C39 #59166C #83209F #AD2BD2

Accessibility & contrast

On white

11.96
#59166C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #59166C
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59166C#FFFFFF#000000##FFFFFF
##59166C1.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #59166c;
/* rgb */ color: rgb(89, 22, 108);
/* oklch */ color: oklch(35.5% 0.146 317.5);
Tailwind
colors: {
  custom: {
    50: '#8b5c97',
    500: '#59166c',
    950: '#000000',
  },
}
SCSS
$custom: #59166c;
$custom-light: #8b5c97;
$custom-dark: #000000;
JSON
{
  "hex": "#59166c",
  "rgb": {
    "r": 89,
    "g": 22,
    "b": 108
  },
  "hsl": {
    "h": 286.744,
    "s": 66.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.35469,
    "c": 0.14619,
    "h": 317.5
  },
  "luminance": 0.0378
}

Semantic roles & 50–950 ramp

primary
#59166C
secondary
#52A23C
accent
#E93F64
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #59166C

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

Preview Lab → · Contrast checker → · Palette generator →

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