#591371#591371

#591371 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.6% C 0.154 H 315.4°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#591371
RGBrgb(89, 19, 113)
HSLhsl(285, 71%, 26%)
HSVhsv(285, 83%, 44%)
CMYKcmyk(21.2%, 83.2%, 0%, 55.7%)
CIE-LABlab(22.94, 45.02, -38.33)
CIE-LCHlch(22.94, 59.12, 319.59°)
OKLaboklab(35.59% 0.1097 -0.1082)
OKLCHoklch(35.59% 0.154 315.4)
XYZxyz(7.3328, 3.7821, 15.9633)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591371 #2B7113
analogous
#2A1371 #591371 #71135A
triadic
#591371 #715913 #137159
tetradic
#591371 #712A13 #2B7113 #135A71
square
#591371 #712A13 #2B7113 #135A71
split-complementary
#591371 #5A7113 #13712A
monochromatic
#15041A #300A3D #591371 #821CA5 #AC25DA

Accessibility & contrast

On white

11.96
#591371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#591371 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591371
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591371#FFFFFF#000000##FFFFFF
##5913711.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003373
Deuteranopia (green-blind)
#0F386F
Tritanopia (blue-blind)
#572942
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #591371;
/* rgb */ color: rgb(89, 19, 113);
/* oklch */ color: oklch(35.6% 0.154 315.4);
Tailwind
colors: {
  custom: {
    50: '#8c5b9a',
    500: '#591371',
    950: '#000000',
  },
}
SCSS
$custom: #591371;
$custom-light: #8c5b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#591371",
  "rgb": {
    "r": 89,
    "g": 19,
    "b": 113
  },
  "hsl": {
    "h": 284.681,
    "s": 71.212,
    "l": 25.882
  },
  "oklch": {
    "l": 0.35592,
    "c": 0.15406,
    "h": 315.4
  },
  "luminance": 0.03782
}

Semantic roles & 50–950 ramp

primary
#591371
secondary
#55A838
accent
#EE3A68
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #591371

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

Preview Lab → · Contrast checker → · Palette generator →

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