#591A78#591A78

#591A78 is a dark, vivid purple. Relative luminance 0.042; OKLCH L 36.8% C 0.153 H 311.6°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#591A78
RGBrgb(89, 26, 120)
HSLhsl(280, 64%, 29%)
HSVhsv(280, 78%, 47%)
CMYKcmyk(25.8%, 78.3%, 0%, 52.9%)
CIE-LABlab(24.38, 43.95, -40.48)
CIE-LCHlch(24.38, 59.75, 317.36°)
OKLaboklab(36.78% 0.1019 -0.1146)
OKLCHoklch(36.78% 0.153 311.6)
XYZxyz(7.8787, 4.2189, 18.1650)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591A78 #39781A
analogous
#2A1A78 #591A78 #781A68
triadic
#591A78 #78591A #1A7859
tetradic
#591A78 #782A1A #39781A #1A6878
square
#591A78 #782A1A #39781A #1A6878
split-complementary
#591A78 #68781A #1A782A
monochromatic
#130519 #340F46 #591A78 #7E25AA #A138D4

Accessibility & contrast

On white

11.39
#591A78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#591A78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591A78
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591A78#FFFFFF#000000##FFFFFF
##591A781.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #591a78;
/* rgb */ color: rgb(89, 26, 120);
/* oklch */ color: oklch(36.8% 0.153 311.6);
Tailwind
colors: {
  custom: {
    50: '#8c5ea0',
    500: '#591a78',
    950: '#000000',
  },
}
SCSS
$custom: #591a78;
$custom-light: #8c5ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#591a78",
  "rgb": {
    "r": 89,
    "g": 26,
    "b": 120
  },
  "hsl": {
    "h": 280.213,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.3678,
    "c": 0.15332,
    "h": 311.6
  },
  "luminance": 0.04219
}

Semantic roles & 50–950 ramp

primary
#591A78
secondary
#65AC41
accent
#E74077
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050F
muted
#7D797E

Preview Lab

Preview with #591A78

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

Preview Lab → · Contrast checker → · Palette generator →

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