#591B71#591B71

#591B71 is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.3% C 0.145 H 314.7°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#591B71
RGBrgb(89, 27, 113)
HSLhsl(283, 61%, 27%)
HSVhsv(283, 76%, 44%)
CMYKcmyk(21.2%, 76.1%, 0%, 55.7%)
CIE-LABlab(24.00, 41.97, -36.61)
CIE-LCHlch(24.00, 55.69, 318.90°)
OKLaboklab(36.34% 0.102 -0.1032)
OKLCHoklch(36.34% 0.145 314.7)
XYZxyz(7.4919, 4.1002, 16.0164)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591B71 #33711B
analogous
#2E1B71 #591B71 #711B5E
triadic
#591B71 #71591B #1B7159
tetradic
#591B71 #712E1B #33711B #1B5E71
square
#591B71 #712E1B #33711B #1B5E71
split-complementary
#591B71 #5E711B #1B712E
monochromatic
#130619 #320F40 #591B71 #8027A2 #A537CF

Accessibility & contrast

On white

11.54
#591B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#591B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591B71
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591B71#FFFFFF#000000##FFFFFF
##591B711.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003673
Deuteranopia (green-blind)
#173B6F
Tritanopia (blue-blind)
#572D44
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #591b71;
/* rgb */ color: rgb(89, 27, 113);
/* oklch */ color: oklch(36.3% 0.145 314.7);
Tailwind
colors: {
  custom: {
    50: '#8b5e9a',
    500: '#591b71',
    950: '#000000',
  },
}
SCSS
$custom: #591b71;
$custom-light: #8b5e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#591b71",
  "rgb": {
    "r": 89,
    "g": 27,
    "b": 113
  },
  "hsl": {
    "h": 283.256,
    "s": 61.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.36342,
    "c": 0.14512,
    "h": 314.7
  },
  "luminance": 0.041
}

Semantic roles & 50–950 ramp

primary
#591B71
secondary
#5EA642
accent
#E54370
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #591B71

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

Preview Lab → · Contrast checker → · Palette generator →

#591B71 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva