#591A5B#591A5B

#591A5B is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.7% C 0.125 H 326.6°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#591A5B
RGBrgb(89, 26, 91)
HSLhsl(298, 56%, 23%)
HSVhsv(298, 71%, 36%)
CMYKcmyk(2.2%, 71.4%, 0%, 64.3%)
CIE-LABlab(22.37, 37.80, -24.85)
CIE-LCHlch(22.37, 45.24, 326.67°)
OKLaboklab(34.7% 0.1044 -0.0689)
OKLCHoklch(34.7% 0.125 326.6)
XYZxyz(6.3774, 3.6184, 10.2580)
Luminance0.0362 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591A5B #1C5B1A
analogous
#381A5B #591A5B #5B1A3C
triadic
#591A5B #5B591A #1A5B59
tetradic
#591A5B #5B381A #1C5B1A #1A3C5B
square
#591A5B #5B381A #1C5B1A #1A3C5B
split-complementary
#591A5B #3C5B1A #1A5B38
monochromatic
#170718 #2A0C2B #591A5B #88288B #B635BA

Accessibility & contrast

On white

12.18
#591A5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#591A5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591A5B
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591A5B#FFFFFF#000000##FFFFFF
##591A5B1.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F305D
Deuteranopia (green-blind)
#293859
Tritanopia (blue-blind)
#5C2438
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #591a5b;
/* rgb */ color: rgb(89, 26, 91);
/* oklch */ color: oklch(34.7% 0.125 326.6);
Tailwind
colors: {
  custom: {
    50: '#8a5d8a',
    500: '#591a5b',
    950: '#000000',
  },
}
SCSS
$custom: #591a5b;
$custom-light: #8a5d8a;
$custom-dark: #000000;
JSON
{
  "hex": "#591a5b",
  "rgb": {
    "r": 89,
    "g": 26,
    "b": 91
  },
  "hsl": {
    "h": 298.154,
    "s": 55.556,
    "l": 22.941
  },
  "oklch": {
    "l": 0.347,
    "c": 0.12504,
    "h": 326.6
  },
  "luminance": 0.03618
}

Semantic roles & 50–950 ramp

primary
#591A5B
secondary
#429140
accent
#DF494E
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #591A5B

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

Preview Lab → · Contrast checker → · Palette generator →

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