#591B52#591B52

#591B52 is a dark, moderate purple. Relative luminance 0.035; OKLCH L 34.3% C 0.115 H 332.6°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#591B52
RGBrgb(89, 27, 82)
HSLhsl(307, 53%, 23%)
HSVhsv(307, 70%, 35%)
CMYKcmyk(0%, 69.7%, 7.9%, 65.1%)
CIE-LABlab(22.01, 35.65, -19.41)
CIE-LCHlch(22.01, 40.59, 331.43°)
OKLaboklab(34.27% 0.1024 -0.0532)
OKLCHoklch(34.27% 0.115 332.6)
XYZxyz(6.0348, 3.5174, 8.3421)
Luminance0.0352 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591B52 #1B5922
analogous
#411B59 #591B52 #591B33
triadic
#591B52 #52591B #1B5259
tetradic
#591B52 #59411B #1B5922 #1B3359
square
#591B52 #59411B #1B5922 #1B3359
split-complementary
#591B52 #33591B #1B5941
monochromatic
#170716 #2A0D27 #591B52 #88297D #B737A9

Accessibility & contrast

On white

12.33
#591B52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#591B52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591B52
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591B52#FFFFFF#000000##FFFFFF
##591B521.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192F54
Deuteranopia (green-blind)
#2E3850
Tritanopia (blue-blind)
#5D2033
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #591b52;
/* rgb */ color: rgb(89, 27, 82);
/* oklch */ color: oklch(34.3% 0.115 332.6);
Tailwind
colors: {
  custom: {
    50: '#8a5d83',
    500: '#591b52',
    950: '#000000',
  },
}
SCSS
$custom: #591b52;
$custom-light: #8a5d83;
$custom-dark: #000000;
JSON
{
  "hex": "#591b52",
  "rgb": {
    "r": 89,
    "g": 27,
    "b": 82
  },
  "hsl": {
    "h": 306.774,
    "s": 53.448,
    "l": 22.745
  },
  "oklch": {
    "l": 0.3427,
    "c": 0.11538,
    "h": 332.6
  },
  "luminance": 0.03517
}

Semantic roles & 50–950 ramp

primary
#591B52
secondary
#418F4A
accent
#DD5B4B
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #591B52

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

Preview Lab → · Contrast checker → · Palette generator →

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