#591A5F#591A5F

#591A5F is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.0% C 0.129 H 324.2°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#591A5F
RGBrgb(89, 26, 95)
HSLhsl(295, 57%, 24%)
HSVhsv(295, 73%, 37%)
CMYKcmyk(6.3%, 72.6%, 0%, 62.7%)
CIE-LABlab(22.62, 38.59, -27.10)
CIE-LCHlch(22.62, 47.16, 324.92°)
OKLaboklab(34.96% 0.1044 -0.0754)
OKLCHoklch(34.96% 0.129 324.2)
XYZxyz(6.5546, 3.6893, 11.1911)
Luminance0.0369 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591A5F #205F1A
analogous
#361A5F #591A5F #5F1A42
triadic
#591A5F #5F591A #1A5F59
tetradic
#591A5F #5F361A #205F1A #1A425F
square
#591A5F #5F361A #205F1A #1A425F
split-complementary
#591A5F #425F1A #1A5F36
monochromatic
#170718 #2C0D2F #591A5F #86278F #B334BF

Accessibility & contrast

On white

12.08
#591A5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#591A5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591A5F
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591A5F#FFFFFF#000000##FFFFFF
##591A5F1.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093161
Deuteranopia (green-blind)
#26395D
Tritanopia (blue-blind)
#5B253A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #591a5f;
/* rgb */ color: rgb(89, 26, 95);
/* oklch */ color: oklch(35.0% 0.129 324.2);
Tailwind
colors: {
  custom: {
    50: '#8a5d8d',
    500: '#591a5f',
    950: '#000000',
  },
}
SCSS
$custom: #591a5f;
$custom-light: #8a5d8d;
$custom-dark: #000000;
JSON
{
  "hex": "#591a5f",
  "rgb": {
    "r": 89,
    "g": 26,
    "b": 95
  },
  "hsl": {
    "h": 294.783,
    "s": 57.025,
    "l": 23.725
  },
  "oklch": {
    "l": 0.34959,
    "c": 0.12879,
    "h": 324.2
  },
  "luminance": 0.03689
}

Semantic roles & 50–950 ramp

primary
#591A5F
secondary
#479540
accent
#E04855
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #591A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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