#591878#591878

#591878 is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.6% C 0.156 H 311.9°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#591878
RGBrgb(89, 24, 120)
HSLhsl(281, 67%, 28%)
HSVhsv(281, 80%, 47%)
CMYKcmyk(25.8%, 80%, 0%, 52.9%)
CIE-LABlab(24.11, 44.74, -40.92)
CIE-LCHlch(24.11, 60.63, 317.55°)
OKLaboklab(36.59% 0.1038 -0.1159)
OKLCHoklch(36.59% 0.156 311.9)
XYZxyz(7.8360, 4.1334, 18.1507)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591878 #377818
analogous
#291878 #591878 #781867
triadic
#591878 #785918 #187859
tetradic
#591878 #782918 #377818 #186778
square
#591878 #782918 #377818 #186778
split-complementary
#591878 #677818 #187829
monochromatic
#13051A #330E45 #591878 #7F22AB #A234D6

Accessibility & contrast

On white

11.50
#591878 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#591878 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591878
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591878#FFFFFF#000000##FFFFFF
##5918781.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367B
Deuteranopia (green-blind)
#063B76
Tritanopia (blue-blind)
#552F47
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #591878;
/* rgb */ color: rgb(89, 24, 120);
/* oklch */ color: oklch(36.6% 0.156 311.9);
Tailwind
colors: {
  custom: {
    50: '#8c5da0',
    500: '#591878',
    950: '#000000',
  },
}
SCSS
$custom: #591878;
$custom-light: #8c5da0;
$custom-dark: #000000;
JSON
{
  "hex": "#591878",
  "rgb": {
    "r": 89,
    "g": 24,
    "b": 120
  },
  "hsl": {
    "h": 280.625,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.36586,
    "c": 0.15556,
    "h": 311.9
  },
  "luminance": 0.04133
}

Semantic roles & 50–950 ramp

primary
#591878
secondary
#62AD3F
accent
#EA3E76
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050F
muted
#7D797E

Preview Lab

Preview with #591878

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

Preview Lab → · Contrast checker → · Palette generator →

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