#591578#591578

#591578 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.3% C 0.159 H 312.1°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#591578
RGBrgb(89, 21, 120)
HSLhsl(281, 70%, 28%)
HSVhsv(281, 83%, 47%)
CMYKcmyk(25.8%, 82.5%, 0%, 52.9%)
CIE-LABlab(23.73, 45.84, -41.54)
CIE-LCHlch(23.73, 61.86, 317.82°)
OKLaboklab(36.32% 0.1065 -0.1177)
OKLCHoklch(36.32% 0.159 312.1)
XYZxyz(7.7775, 4.0165, 18.1312)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591578 #347815
analogous
#271578 #591578 #781566
triadic
#591578 #785915 #157859
tetradic
#591578 #782715 #347815 #156678
square
#591578 #782715 #347815 #156678
split-complementary
#591578 #667815 #157827
monochromatic
#13051A #320C44 #591578 #801EAC #A42DDA

Accessibility & contrast

On white

11.65
#591578 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#591578 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591578
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591578#FFFFFF#000000##FFFFFF
##5915781.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357B
Deuteranopia (green-blind)
#013A76
Tritanopia (blue-blind)
#552E47
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #591578;
/* rgb */ color: rgb(89, 21, 120);
/* oklch */ color: oklch(36.3% 0.159 312.1);
Tailwind
colors: {
  custom: {
    50: '#8c5ca0',
    500: '#591578',
    950: '#000000',
  },
}
SCSS
$custom: #591578;
$custom-light: #8c5ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#591578",
  "rgb": {
    "r": 89,
    "g": 21,
    "b": 120
  },
  "hsl": {
    "h": 281.212,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.36318,
    "c": 0.15867,
    "h": 312.1
  },
  "luminance": 0.04016
}

Semantic roles & 50–950 ramp

primary
#591578
secondary
#5FAE3B
accent
#ED3B73
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040F
muted
#7D797E

Preview Lab

Preview with #591578

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

Preview Lab → · Contrast checker → · Palette generator →

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