#591477#591477

#591477 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.2% C 0.159 H 312.7°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#591477
RGBrgb(89, 20, 119)
HSLhsl(282, 71%, 27%)
HSVhsv(282, 83%, 47%)
CMYKcmyk(25.2%, 83.2%, 0%, 53.3%)
CIE-LABlab(23.53, 45.97, -41.22)
CIE-LCHlch(23.53, 61.74, 318.11°)
OKLaboklab(36.15% 0.1075 -0.1167)
OKLCHoklch(36.15% 0.159 312.7)
XYZxyz(7.6991, 3.9563, 17.8073)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591477 #327714
analogous
#271477 #591477 #771464
triadic
#591477 #775914 #147759
tetradic
#591477 #772714 #327714 #146477
square
#591477 #772714 #327714 #146477
split-complementary
#591477 #647714 #147727
monochromatic
#14041A #320B43 #591477 #801DAB #A62ADB

Accessibility & contrast

On white

11.72
#591477 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #591477
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591477#FFFFFF#000000##FFFFFF
##5914771.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357A
Deuteranopia (green-blind)
#023975
Tritanopia (blue-blind)
#552D46
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #591477;
/* rgb */ color: rgb(89, 20, 119);
/* oklch */ color: oklch(36.2% 0.159 312.7);
Tailwind
colors: {
  custom: {
    50: '#8c5b9f',
    500: '#591477',
    950: '#000000',
  },
}
SCSS
$custom: #591477;
$custom-light: #8c5b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#591477",
  "rgb": {
    "r": 89,
    "g": 20,
    "b": 119
  },
  "hsl": {
    "h": 281.818,
    "s": 71.223,
    "l": 27.255
  },
  "oklch": {
    "l": 0.36153,
    "c": 0.15871,
    "h": 312.7
  },
  "luminance": 0.03956
}

Semantic roles & 50–950 ramp

primary
#591477
secondary
#5DAD3A
accent
#EE3A70
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #591477

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

Preview Lab → · Contrast checker → · Palette generator →

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