#591978#591978

#591978 is a dark, vivid purple. Relative luminance 0.042; OKLCH L 36.7% C 0.154 H 311.8°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#591978
RGBrgb(89, 25, 120)
HSLhsl(280, 66%, 28%)
HSVhsv(280, 79%, 47%)
CMYKcmyk(25.8%, 79.2%, 0%, 52.9%)
CIE-LABlab(24.24, 44.35, -40.70)
CIE-LCHlch(24.24, 60.19, 317.46°)
OKLaboklab(36.68% 0.1029 -0.1152)
OKLCHoklch(36.68% 0.154 311.8)
XYZxyz(7.8570, 4.1754, 18.1577)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591978 #387819
analogous
#291978 #591978 #781967
triadic
#591978 #785919 #197859
tetradic
#591978 #782919 #387819 #196778
square
#591978 #782919 #387819 #196778
split-complementary
#591978 #677819 #197829
monochromatic
#130519 #330E45 #591978 #7F24AB #A136D5

Accessibility & contrast

On white

11.44
#591978 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#591978 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591978
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591978#FFFFFF#000000##FFFFFF
##5919781.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377B
Deuteranopia (green-blind)
#073B76
Tritanopia (blue-blind)
#552F48
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #591978;
/* rgb */ color: rgb(89, 25, 120);
/* oklch */ color: oklch(36.7% 0.154 311.8);
Tailwind
colors: {
  custom: {
    50: '#8c5ea0',
    500: '#591978',
    950: '#000000',
  },
}
SCSS
$custom: #591978;
$custom-light: #8c5ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#591978",
  "rgb": {
    "r": 89,
    "g": 25,
    "b": 120
  },
  "hsl": {
    "h": 280.421,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.36682,
    "c": 0.15446,
    "h": 311.8
  },
  "luminance": 0.04175
}

Semantic roles & 50–950 ramp

primary
#591978
secondary
#64AD40
accent
#E83F77
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050F
muted
#7D797E

Preview Lab

Preview with #591978

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

Preview Lab → · Contrast checker → · Palette generator →

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