#591B5F#591B5F

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

Color values

HEX#591B5F
RGBrgb(89, 27, 95)
HSLhsl(295, 56%, 24%)
HSVhsv(295, 72%, 37%)
CMYKcmyk(6.3%, 71.6%, 0%, 62.7%)
CIE-LABlab(22.77, 38.15, -26.86)
CIE-LCHlch(22.77, 46.65, 324.86°)
OKLaboklab(35.07% 0.1032 -0.0747)
OKLCHoklch(35.07% 0.127 324.1)
XYZxyz(6.5771, 3.7343, 11.1986)
Luminance0.0373 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591B5F #215F1B
analogous
#371B5F #591B5F #5F1B43
triadic
#591B5F #5F591B #1B5F59
tetradic
#591B5F #5F371B #215F1B #1B435F
square
#591B5F #5F371B #215F1B #1B435F
split-complementary
#591B5F #435F1B #1B5F37
monochromatic
#160718 #2C0D2F #591B5F #86298F #B236BE

Accessibility & contrast

On white

12.02
#591B5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#591B5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591B5F
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591B5F#FFFFFF#000000##FFFFFF
##591B5F1.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3261
Deuteranopia (green-blind)
#27395D
Tritanopia (blue-blind)
#5B263A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #591b5f;
/* rgb */ color: rgb(89, 27, 95);
/* oklch */ color: oklch(35.1% 0.127 324.1);
Tailwind
colors: {
  custom: {
    50: '#8a5d8d',
    500: '#591b5f',
    950: '#000000',
  },
}
SCSS
$custom: #591b5f;
$custom-light: #8a5d8d;
$custom-dark: #000000;
JSON
{
  "hex": "#591b5f",
  "rgb": {
    "r": 89,
    "g": 27,
    "b": 95
  },
  "hsl": {
    "h": 294.706,
    "s": 55.738,
    "l": 23.922
  },
  "oklch": {
    "l": 0.35072,
    "c": 0.1274,
    "h": 324.1
  },
  "luminance": 0.03734
}

Semantic roles & 50–950 ramp

primary
#591B5F
secondary
#499541
accent
#DF4956
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #591B5F

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

Preview Lab → · Contrast checker → · Palette generator →

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