#591972#591972

#591972 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.2% C 0.149 H 314.4°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#591972
RGBrgb(89, 25, 114)
HSLhsl(283, 64%, 27%)
HSVhsv(283, 78%, 45%)
CMYKcmyk(21.9%, 78.1%, 0%, 55.3%)
CIE-LABlab(23.78, 43.01, -37.60)
CIE-LCHlch(23.78, 57.13, 318.84°)
OKLaboklab(36.21% 0.1039 -0.1061)
OKLCHoklch(36.21% 0.149 314.4)
XYZxyz(7.5042, 4.0343, 16.2997)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591972 #327219
analogous
#2C1972 #591972 #72195F
triadic
#591972 #725919 #197259
tetradic
#591972 #722C19 #327219 #195F72
square
#591972 #722C19 #327219 #195F72
split-complementary
#591972 #5F7219 #19722C
monochromatic
#140619 #320E40 #591972 #8024A4 #A633D2

Accessibility & contrast

On white

11.62
#591972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #591972
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591972#FFFFFF#000000##FFFFFF
##5919721.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003574
Deuteranopia (green-blind)
#133A70
Tritanopia (blue-blind)
#572D44
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #591972;
/* rgb */ color: rgb(89, 25, 114);
/* oklch */ color: oklch(36.2% 0.149 314.4);
Tailwind
colors: {
  custom: {
    50: '#8b5d9b',
    500: '#591972',
    950: '#000000',
  },
}
SCSS
$custom: #591972;
$custom-light: #8b5d9b;
$custom-dark: #000000;
JSON
{
  "hex": "#591972",
  "rgb": {
    "r": 89,
    "g": 25,
    "b": 114
  },
  "hsl": {
    "h": 283.146,
    "s": 64.029,
    "l": 27.255
  },
  "oklch": {
    "l": 0.36213,
    "c": 0.14853,
    "h": 314.4
  },
  "luminance": 0.04034
}

Semantic roles & 50–950 ramp

primary
#591972
secondary
#5DA740
accent
#E7416F
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #591972

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

Preview Lab → · Contrast checker → · Palette generator →

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