#591971#591971

#591971 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.1% C 0.148 H 314.9°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#591971
RGBrgb(89, 25, 113)
HSLhsl(284, 64%, 27%)
HSVhsv(284, 78%, 44%)
CMYKcmyk(21.2%, 77.9%, 0%, 55.7%)
CIE-LABlab(23.71, 42.80, -37.08)
CIE-LCHlch(23.71, 56.62, 319.09°)
OKLaboklab(36.14% 0.1041 -0.1046)
OKLCHoklch(36.14% 0.148 314.9)
XYZxyz(7.4476, 4.0116, 16.0016)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591971 #317119
analogous
#2D1971 #591971 #71195D
triadic
#591971 #715919 #197159
tetradic
#591971 #712D19 #317119 #195D71
square
#591971 #712D19 #317119 #195D71
split-complementary
#591971 #5D7119 #19712D
monochromatic
#140619 #320E3F #591971 #8024A3 #A633D2

Accessibility & contrast

On white

11.65
#591971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#591971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591971
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591971#FFFFFF#000000##FFFFFF
##5919711.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003573
Deuteranopia (green-blind)
#153A6F
Tritanopia (blue-blind)
#572C44
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #591971;
/* rgb */ color: rgb(89, 25, 113);
/* oklch */ color: oklch(36.1% 0.148 314.9);
Tailwind
colors: {
  custom: {
    50: '#8b5d9a',
    500: '#591971',
    950: '#000000',
  },
}
SCSS
$custom: #591971;
$custom-light: #8b5d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#591971",
  "rgb": {
    "r": 89,
    "g": 25,
    "b": 113
  },
  "hsl": {
    "h": 283.636,
    "s": 63.768,
    "l": 27.059
  },
  "oklch": {
    "l": 0.36136,
    "c": 0.14755,
    "h": 314.9
  },
  "luminance": 0.04011
}

Semantic roles & 50–950 ramp

primary
#591971
secondary
#5CA640
accent
#E7416E
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #591971

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

Preview Lab → · Contrast checker → · Palette generator →

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