#591771#591771

#591771 is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.9% C 0.150 H 315.0°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#591771
RGBrgb(89, 23, 113)
HSLhsl(284, 66%, 27%)
HSVhsv(284, 80%, 44%)
CMYKcmyk(21.2%, 79.6%, 0%, 55.7%)
CIE-LABlab(23.44, 43.58, -37.52)
CIE-LCHlch(23.44, 57.51, 319.27°)
OKLaboklab(35.94% 0.106 -0.1059)
OKLCHoklch(35.94% 0.15 315)
XYZxyz(7.4064, 3.9292, 15.9878)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591771 #2F7117
analogous
#2C1771 #591771 #71175C
triadic
#591771 #715917 #177159
tetradic
#591771 #712C17 #2F7117 #175C71
square
#591771 #712C17 #2F7117 #175C71
split-complementary
#591771 #5C7117 #17712C
monochromatic
#140519 #310D3E #591771 #8121A4 #A82ED4

Accessibility & contrast

On white

11.76
#591771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#591771 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591771
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591771#FFFFFF#000000##FFFFFF
##5917711.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003473
Deuteranopia (green-blind)
#13396F
Tritanopia (blue-blind)
#572B43
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #591771;
/* rgb */ color: rgb(89, 23, 113);
/* oklch */ color: oklch(35.9% 0.150 315.0);
Tailwind
colors: {
  custom: {
    50: '#8b5c9a',
    500: '#591771',
    950: '#000000',
  },
}
SCSS
$custom: #591771;
$custom-light: #8b5c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#591771",
  "rgb": {
    "r": 89,
    "g": 23,
    "b": 113
  },
  "hsl": {
    "h": 284,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.35943,
    "c": 0.14984,
    "h": 315
  },
  "luminance": 0.03929
}

Semantic roles & 50–950 ramp

primary
#591771
secondary
#59A73D
accent
#E93F6C
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #591771

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

Preview Lab → · Contrast checker → · Palette generator →

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