#591772#591772

#591772 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.0% C 0.151 H 314.6°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#591772
RGBrgb(89, 23, 114)
HSLhsl(284, 66%, 27%)
HSVhsv(284, 80%, 45%)
CMYKcmyk(21.9%, 79.8%, 0%, 55.3%)
CIE-LABlab(23.51, 43.80, -38.04)
CIE-LCHlch(23.51, 58.01, 319.02°)
OKLaboklab(36.02% 0.1059 -0.1074)
OKLCHoklch(36.02% 0.151 314.6)
XYZxyz(7.4630, 3.9518, 16.2860)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591772 #307217
analogous
#2B1772 #591772 #72175E
triadic
#591772 #725917 #177259
tetradic
#591772 #722B17 #307217 #175E72
square
#591772 #722B17 #307217 #175E72
split-complementary
#591772 #5E7217 #17722B
monochromatic
#140519 #310D3F #591772 #8121A5 #A72ED5

Accessibility & contrast

On white

11.73
#591772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #591772
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591772#FFFFFF#000000##FFFFFF
##5917721.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003474
Deuteranopia (green-blind)
#113A70
Tritanopia (blue-blind)
#572C44
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #591772;
/* rgb */ color: rgb(89, 23, 114);
/* oklch */ color: oklch(36.0% 0.151 314.6);
Tailwind
colors: {
  custom: {
    50: '#8b5c9b',
    500: '#591772',
    950: '#000000',
  },
}
SCSS
$custom: #591772;
$custom-light: #8b5c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#591772",
  "rgb": {
    "r": 89,
    "g": 23,
    "b": 114
  },
  "hsl": {
    "h": 283.516,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.3602,
    "c": 0.15081,
    "h": 314.6
  },
  "luminance": 0.03952
}

Semantic roles & 50–950 ramp

primary
#591772
secondary
#5AA83D
accent
#E93E6D
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #591772

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

Preview Lab → · Contrast checker → · Palette generator →

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