#591B78#591B78

#591B78 is a dark, vivid purple. Relative luminance 0.043; OKLCH L 36.9% C 0.152 H 311.5°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#591B78
RGBrgb(89, 27, 120)
HSLhsl(280, 63%, 29%)
HSVhsv(280, 78%, 47%)
CMYKcmyk(25.8%, 77.5%, 0%, 52.9%)
CIE-LABlab(24.53, 43.54, -40.24)
CIE-LCHlch(24.53, 59.29, 317.25°)
OKLaboklab(36.88% 0.1009 -0.1139)
OKLCHoklch(36.88% 0.152 311.5)
XYZxyz(7.9013, 4.2640, 18.1725)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591B78 #3A781B
analogous
#2B1B78 #591B78 #781B69
triadic
#591B78 #78591B #1B7859
tetradic
#591B78 #782B1B #3A781B #1B6978
square
#591B78 #782B1B #3A781B #1B6978
split-complementary
#591B78 #69781B #1B782B
monochromatic
#130619 #341046 #591B78 #7E26AA #A03BD3

Accessibility & contrast

On white

11.33
#591B78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#591B78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591B78
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591B78#FFFFFF#000000##FFFFFF
##591B781.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377B
Deuteranopia (green-blind)
#0B3B76
Tritanopia (blue-blind)
#553048
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #591b78;
/* rgb */ color: rgb(89, 27, 120);
/* oklch */ color: oklch(36.9% 0.152 311.5);
Tailwind
colors: {
  custom: {
    50: '#8c5ea0',
    500: '#591b78',
    950: '#000000',
  },
}
SCSS
$custom: #591b78;
$custom-light: #8c5ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#591b78",
  "rgb": {
    "r": 89,
    "g": 27,
    "b": 120
  },
  "hsl": {
    "h": 280,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.36881,
    "c": 0.15216,
    "h": 311.5
  },
  "luminance": 0.04264
}

Semantic roles & 50–950 ramp

primary
#591B78
secondary
#66AC43
accent
#E64178
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050F
muted
#7D797E

Preview Lab

Preview with #591B78

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

Preview Lab → · Contrast checker → · Palette generator →

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