#591A5D#591A5D

#591A5D is a dark, vivid purple. Relative luminance 0.037; OKLCH L 34.8% C 0.127 H 325.4°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#591A5D
RGBrgb(89, 26, 93)
HSLhsl(296, 56%, 23%)
HSVhsv(296, 72%, 36%)
CMYKcmyk(4.3%, 72%, 0%, 63.5%)
CIE-LABlab(22.49, 38.19, -25.98)
CIE-LCHlch(22.49, 46.19, 325.77°)
OKLaboklab(34.83% 0.1044 -0.0722)
OKLCHoklch(34.83% 0.127 325.4)
XYZxyz(6.4649, 3.6534, 10.7185)
Luminance0.0365 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591A5D #1E5D1A
analogous
#371A5D #591A5D #5D1A3F
triadic
#591A5D #5D591A #1A5D59
tetradic
#591A5D #5D371A #1E5D1A #1A3F5D
square
#591A5D #5D371A #1E5D1A #1A3F5D
split-complementary
#591A5D #3F5D1A #1A5D37
monochromatic
#170718 #2B0D2D #591A5D #87278D #B535BD

Accessibility & contrast

On white

12.13
#591A5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#591A5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591A5D
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591A5D#FFFFFF#000000##FFFFFF
##591A5D1.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C315F
Deuteranopia (green-blind)
#27385B
Tritanopia (blue-blind)
#5B2439
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #591a5d;
/* rgb */ color: rgb(89, 26, 93);
/* oklch */ color: oklch(34.8% 0.127 325.4);
Tailwind
colors: {
  custom: {
    50: '#8a5d8b',
    500: '#591a5d',
    950: '#000000',
  },
}
SCSS
$custom: #591a5d;
$custom-light: #8a5d8b;
$custom-dark: #000000;
JSON
{
  "hex": "#591a5d",
  "rgb": {
    "r": 89,
    "g": 26,
    "b": 93
  },
  "hsl": {
    "h": 296.418,
    "s": 56.303,
    "l": 23.333
  },
  "oklch": {
    "l": 0.34828,
    "c": 0.12691,
    "h": 325.4
  },
  "luminance": 0.03653
}

Semantic roles & 50–950 ramp

primary
#591A5D
secondary
#459340
accent
#E04851
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #591A5D

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

Preview Lab → · Contrast checker → · Palette generator →

#591A5D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva