#591F71#591F71

#591F71 is a dark, vivid purple. Relative luminance 0.043; OKLCH L 36.8% C 0.140 H 314.2°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#591F71
RGBrgb(89, 31, 113)
HSLhsl(282, 57%, 28%)
HSVhsv(282, 73%, 44%)
CMYKcmyk(21.2%, 72.6%, 0%, 55.7%)
CIE-LABlab(24.63, 40.19, -35.60)
CIE-LCHlch(24.63, 53.69, 318.47°)
OKLaboklab(36.79% 0.0975 -0.1003)
OKLCHoklch(36.79% 0.14 314.2)
XYZxyz(7.5899, 4.2963, 16.0490)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591F71 #37711F
analogous
#301F71 #591F71 #711F60
triadic
#591F71 #71591F #1F7159
tetradic
#591F71 #71301F #37711F #1F6071
square
#591F71 #71301F #37711F #1F6071
split-complementary
#591F71 #60711F #1F7130
monochromatic
#130718 #331241 #591F71 #7F2CA1 #A240CB

Accessibility & contrast

On white

11.30
#591F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#591F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591F71
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591F71#FFFFFF#000000##FFFFFF
##591F711.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003773
Deuteranopia (green-blind)
#1B3C6F
Tritanopia (blue-blind)
#573045
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #591f71;
/* rgb */ color: rgb(89, 31, 113);
/* oklch */ color: oklch(36.8% 0.140 314.2);
Tailwind
colors: {
  custom: {
    50: '#8b609a',
    500: '#591f71',
    950: '#000000',
  },
}
SCSS
$custom: #591f71;
$custom-light: #8b609a;
$custom-dark: #000000;
JSON
{
  "hex": "#591f71",
  "rgb": {
    "r": 89,
    "g": 31,
    "b": 113
  },
  "hsl": {
    "h": 282.439,
    "s": 56.944,
    "l": 28.235
  },
  "oklch": {
    "l": 0.3679,
    "c": 0.13989,
    "h": 314.2
  },
  "luminance": 0.04296
}

Semantic roles & 50–950 ramp

primary
#591F71
secondary
#62A547
accent
#E04874
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #591F71

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

Preview Lab → · Contrast checker → · Palette generator →

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