#59175F#59175F

#59175F is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.6% C 0.133 H 324.3°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#59175F
RGBrgb(89, 23, 95)
HSLhsl(295, 61%, 23%)
HSVhsv(295, 76%, 37%)
CMYKcmyk(6.3%, 75.8%, 0%, 62.7%)
CIE-LABlab(22.17, 39.85, -27.81)
CIE-LCHlch(22.17, 48.59, 325.09°)
OKLaboklab(34.64% 0.1079 -0.0774)
OKLCHoklch(34.64% 0.133 324.3)
XYZxyz(6.4916, 3.5633, 11.1701)
Luminance0.0356 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59175F #1D5F17
analogous
#35175F #59175F #5F1741
triadic
#59175F #5F5917 #175F59
tetradic
#59175F #5F3517 #1D5F17 #17415F
square
#59175F #5F3517 #1D5F17 #17415F
split-complementary
#59175F #415F17 #175F35
monochromatic
#170619 #2B0B2E #59175F #872390 #B52FC2

Accessibility & contrast

On white

12.26
#59175F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#59175F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59175F
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59175F#FFFFFF#000000##FFFFFF
##59175F1.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033061
Deuteranopia (green-blind)
#24385D
Tritanopia (blue-blind)
#5B2339
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #59175f;
/* rgb */ color: rgb(89, 23, 95);
/* oklch */ color: oklch(34.6% 0.133 324.3);
Tailwind
colors: {
  custom: {
    50: '#8b5b8d',
    500: '#59175f',
    950: '#000000',
  },
}
SCSS
$custom: #59175f;
$custom-light: #8b5b8d;
$custom-dark: #000000;
JSON
{
  "hex": "#59175f",
  "rgb": {
    "r": 89,
    "g": 23,
    "b": 95
  },
  "hsl": {
    "h": 295,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.3464,
    "c": 0.13279,
    "h": 324.3
  },
  "luminance": 0.03563
}

Semantic roles & 50–950 ramp

primary
#59175F
secondary
#44963C
accent
#E44451
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #59175F

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

Preview Lab → · Contrast checker → · Palette generator →

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