#591879#591879

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

Color values

HEX#591879
RGBrgb(89, 24, 121)
HSLhsl(280, 67%, 28%)
HSVhsv(280, 80%, 47%)
CMYKcmyk(26.4%, 80.2%, 0%, 52.5%)
CIE-LABlab(24.19, 44.96, -41.43)
CIE-LCHlch(24.19, 61.14, 317.34°)
OKLaboklab(36.67% 0.1036 -0.1174)
OKLCHoklch(36.67% 0.157 311.4)
XYZxyz(7.8970, 4.1578, 18.4720)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591879 #387918
analogous
#281879 #591879 #791868
triadic
#591879 #795918 #187959
tetradic
#591879 #792818 #387918 #186879
square
#591879 #792818 #387918 #186879
split-complementary
#591879 #687918 #187928
monochromatic
#13051A #330E46 #591879 #7F22AC #A135D7

Accessibility & contrast

On white

11.47
#591879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #591879
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591879#FFFFFF#000000##FFFFFF
##5918791.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377C
Deuteranopia (green-blind)
#033B77
Tritanopia (blue-blind)
#552F48
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #591879;
/* rgb */ color: rgb(89, 24, 121);
/* oklch */ color: oklch(36.7% 0.157 311.4);
Tailwind
colors: {
  custom: {
    50: '#8c5da0',
    500: '#591879',
    950: '#000000',
  },
}
SCSS
$custom: #591879;
$custom-light: #8c5da0;
$custom-dark: #000000;
JSON
{
  "hex": "#591879",
  "rgb": {
    "r": 89,
    "g": 24,
    "b": 121
  },
  "hsl": {
    "h": 280.206,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.36667,
    "c": 0.15654,
    "h": 311.4
  },
  "luminance": 0.04158
}

Semantic roles & 50–950 ramp

primary
#591879
secondary
#64AE3F
accent
#EA3E77
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050F
muted
#7D797E

Preview Lab

Preview with #591879

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

Preview Lab → · Contrast checker → · Palette generator →

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