#591579#591579

#591579 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.4% C 0.160 H 311.7°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#591579
RGBrgb(89, 21, 121)
HSLhsl(281, 70%, 28%)
HSVhsv(281, 83%, 47%)
CMYKcmyk(26.4%, 82.6%, 0%, 52.5%)
CIE-LABlab(23.81, 46.06, -42.05)
CIE-LCHlch(23.81, 62.37, 317.61°)
OKLaboklab(36.4% 0.1062 -0.1191)
OKLCHoklch(36.4% 0.16 311.7)
XYZxyz(7.8385, 4.0409, 18.4525)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591579 #357915
analogous
#271579 #591579 #791567
triadic
#591579 #795915 #157959
tetradic
#591579 #792715 #357915 #156779
square
#591579 #792715 #357915 #156779
split-complementary
#591579 #677915 #157927
monochromatic
#13051A #330C45 #591579 #7F1EAD #A32EDB

Accessibility & contrast

On white

11.61
#591579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#591579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591579
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591579#FFFFFF#000000##FFFFFF
##5915791.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367C
Deuteranopia (green-blind)
#003A77
Tritanopia (blue-blind)
#552E47
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #591579;
/* rgb */ color: rgb(89, 21, 121);
/* oklch */ color: oklch(36.4% 0.160 311.7);
Tailwind
colors: {
  custom: {
    50: '#8c5ca0',
    500: '#591579',
    950: '#000000',
  },
}
SCSS
$custom: #591579;
$custom-light: #8c5ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#591579",
  "rgb": {
    "r": 89,
    "g": 21,
    "b": 121
  },
  "hsl": {
    "h": 280.8,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.364,
    "c": 0.15963,
    "h": 311.7
  },
  "luminance": 0.04041
}

Semantic roles & 50–950 ramp

primary
#591579
secondary
#60AF3B
accent
#ED3B74
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0D040F
muted
#7D797E

Preview Lab

Preview with #591579

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

Preview Lab → · Contrast checker → · Palette generator →

#591579 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva