#59175A#59175A

#59175A is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.3% C 0.128 H 327.3°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#59175A
RGBrgb(89, 23, 90)
HSLhsl(299, 59%, 22%)
HSVhsv(299, 74%, 35%)
CMYKcmyk(1.1%, 74.4%, 0%, 64.7%)
CIE-LABlab(21.85, 38.88, -25.00)
CIE-LCHlch(21.85, 46.22, 327.26°)
OKLaboklab(34.31% 0.1079 -0.0693)
OKLCHoklch(34.31% 0.128 327.3)
XYZxyz(6.2716, 3.4753, 10.0113)
Luminance0.0348 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59175A #185A17
analogous
#37175A #59175A #5A173A
triadic
#59175A #5A5917 #175A59
tetradic
#59175A #5A3717 #185A17 #173A5A
square
#59175A #5A3717 #185A17 #173A5A
split-complementary
#59175A #3A5A17 #175A37
monochromatic
#180618 #290B29 #59175A #89238B #B930BB

Accessibility & contrast

On white

12.39
#59175A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#59175A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59175A
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59175A#FFFFFF#000000##FFFFFF
##59175A1.0012.391.7012.39
#FFFFFF12.391.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2F5C
Deuteranopia (green-blind)
#283758
Tritanopia (blue-blind)
#5C2136
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #59175a;
/* rgb */ color: rgb(89, 23, 90);
/* oklch */ color: oklch(34.3% 0.128 327.3);
Tailwind
colors: {
  custom: {
    50: '#8b5b89',
    500: '#59175a',
    950: '#000000',
  },
}
SCSS
$custom: #59175a;
$custom-light: #8b5b89;
$custom-dark: #000000;
JSON
{
  "hex": "#59175a",
  "rgb": {
    "r": 89,
    "g": 23,
    "b": 90
  },
  "hsl": {
    "h": 299.104,
    "s": 59.292,
    "l": 22.157
  },
  "oklch": {
    "l": 0.34311,
    "c": 0.12823,
    "h": 327.3
  },
  "luminance": 0.03475
}

Semantic roles & 50–950 ramp

primary
#59175A
secondary
#3D913C
accent
#E24548
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #59175A

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

Preview Lab → · Contrast checker → · Palette generator →

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