#591161#591161

#591161 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.2% C 0.142 H 323.5°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#591161
RGBrgb(89, 17, 97)
HSLhsl(294, 70%, 22%)
HSVhsv(294, 82%, 38%)
CMYKcmyk(8.2%, 82.5%, 0%, 62%)
CIE-LABlab(21.54, 42.44, -30.15)
CIE-LCHlch(21.54, 52.06, 324.61°)
OKLaboklab(34.23% 0.1138 -0.0842)
OKLCHoklch(34.23% 0.142 323.5)
XYZxyz(6.4777, 3.3882, 11.6197)
Luminance0.0339 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591161 #196111
analogous
#311161 #591161 #611141
triadic
#591161 #615911 #116159
tetradic
#591161 #613111 #196111 #114161
square
#591161 #613111 #196111 #114161
split-complementary
#591161 #416111 #116131
monochromatic
#18051A #29082D #591161 #891A95 #B923C9

Accessibility & contrast

On white

12.52
#591161 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#591161 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591161
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591161#FFFFFF#000000##FFFFFF
##5911611.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E63
Deuteranopia (green-blind)
#20365F
Tritanopia (blue-blind)
#5B2139
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #591161;
/* rgb */ color: rgb(89, 17, 97);
/* oklch */ color: oklch(34.2% 0.142 323.5);
Tailwind
colors: {
  custom: {
    50: '#8b598e',
    500: '#591161',
    950: '#000000',
  },
}
SCSS
$custom: #591161;
$custom-light: #8b598e;
$custom-dark: #000000;
JSON
{
  "hex": "#591161",
  "rgb": {
    "r": 89,
    "g": 17,
    "b": 97
  },
  "hsl": {
    "h": 294,
    "s": 70.175,
    "l": 22.353
  },
  "oklch": {
    "l": 0.34231,
    "c": 0.14156,
    "h": 323.5
  },
  "luminance": 0.03388
}

Semantic roles & 50–950 ramp

primary
#591161
secondary
#3E9934
accent
#ED3B4D
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #591161

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

Preview Lab → · Contrast checker → · Palette generator →

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