#59157A#59157A

#59157A is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.5% C 0.161 H 311.3°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#59157A
RGBrgb(89, 21, 122)
HSLhsl(280, 71%, 28%)
HSVhsv(280, 83%, 48%)
CMYKcmyk(27%, 82.8%, 0%, 52.2%)
CIE-LABlab(23.89, 46.28, -42.55)
CIE-LCHlch(23.89, 62.87, 317.40°)
OKLaboklab(36.48% 0.106 -0.1206)
OKLCHoklch(36.48% 0.161 311.3)
XYZxyz(7.9002, 4.0655, 18.7771)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59157A #367A15
analogous
#26157A #59157A #7A1568
triadic
#59157A #7A5915 #157A59
tetradic
#59157A #7A2615 #367A15 #15687A
square
#59157A #7A2615 #367A15 #15687A
split-complementary
#59157A #687A15 #157A26
monochromatic
#13041A #330C46 #59157A #7F1EAE #A32EDB

Accessibility & contrast

On white

11.58
#59157A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#59157A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59157A
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59157A#FFFFFF#000000##FFFFFF
##59157A1.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.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: #59157a;
/* rgb */ color: rgb(89, 21, 122);
/* oklch */ color: oklch(36.5% 0.161 311.3);
Tailwind
colors: {
  custom: {
    50: '#8c5ca1',
    500: '#59157a',
    950: '#000000',
  },
}
SCSS
$custom: #59157a;
$custom-light: #8c5ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#59157a",
  "rgb": {
    "r": 89,
    "g": 21,
    "b": 122
  },
  "hsl": {
    "h": 280.396,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.36481,
    "c": 0.16059,
    "h": 311.3
  },
  "luminance": 0.04065
}

Semantic roles & 50–950 ramp

primary
#59157A
secondary
#61AF3B
accent
#ED3A75
background
#F8F5FA
surface
#F0E9F3
border
#CBC5CD
text
#0D040F
muted
#7D797F

Preview Lab

Preview with #59157A

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

Preview Lab → · Contrast checker → · Palette generator →

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