#59177A#59177A

#59177A is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.7% C 0.159 H 311.1°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#59177A
RGBrgb(89, 23, 122)
HSLhsl(280, 68%, 28%)
HSVhsv(280, 81%, 48%)
CMYKcmyk(27%, 81.1%, 0%, 52.2%)
CIE-LABlab(24.14, 45.56, -42.15)
CIE-LCHlch(24.14, 62.07, 317.23°)
OKLaboklab(36.66% 0.1043 -0.1195)
OKLCHoklch(36.66% 0.159 311.1)
XYZxyz(7.9384, 4.1420, 18.7899)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59177A #387A17
analogous
#27177A #59177A #7A1769
triadic
#59177A #7A5917 #177A59
tetradic
#59177A #7A2717 #387A17 #17697A
square
#59177A #7A2717 #387A17 #17697A
split-complementary
#59177A #697A17 #177A27
monochromatic
#13051A #330D47 #59177A #7F21AD #A133D9

Accessibility & contrast

On white

11.49
#59177A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#59177A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59177A
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59177A#FFFFFF#000000##FFFFFF
##59177A1.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367D
Deuteranopia (green-blind)
#003A78
Tritanopia (blue-blind)
#552F48
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #59177a;
/* rgb */ color: rgb(89, 23, 122);
/* oklch */ color: oklch(36.7% 0.159 311.1);
Tailwind
colors: {
  custom: {
    50: '#8c5da1',
    500: '#59177a',
    950: '#000000',
  },
}
SCSS
$custom: #59177a;
$custom-light: #8c5da1;
$custom-dark: #000000;
JSON
{
  "hex": "#59177a",
  "rgb": {
    "r": 89,
    "g": 23,
    "b": 122
  },
  "hsl": {
    "h": 280,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.36656,
    "c": 0.15858,
    "h": 311.1
  },
  "luminance": 0.04142
}

Semantic roles & 50–950 ramp

primary
#59177A
secondary
#64AF3E
accent
#EB3D77
background
#F8F5FA
surface
#F0E9F3
border
#CBC5CD
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #59177A

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

Preview Lab → · Contrast checker → · Palette generator →

#59177A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva