#591B84#591B84

#591B84 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.9% C 0.164 H 306.8°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#591B84
RGBrgb(89, 27, 132)
HSLhsl(275, 66%, 31%)
HSVhsv(275, 80%, 52%)
CMYKcmyk(32.6%, 79.5%, 0%, 48.2%)
CIE-LABlab(25.48, 46.31, -46.28)
CIE-LCHlch(25.48, 65.47, 315.02°)
OKLaboklab(37.86% 0.0984 -0.1316)
OKLCHoklch(37.86% 0.164 306.8)
XYZxyz(8.6757, 4.5738, 22.2511)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591B84 #46841B
analogous
#251B84 #591B84 #841B7A
triadic
#591B84 #84591B #1B8459
tetradic
#591B84 #84251B #46841B #1B7A84
square
#591B84 #84251B #46841B #1B7A84
split-complementary
#591B84 #7A841B #1B8425
monochromatic
#14061E #371151 #591B84 #7B25B7 #9A41D8

Accessibility & contrast

On white

10.97
#591B84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#591B84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591B84
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591B84#FFFFFF#000000##FFFFFF
##591B841.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A87
Deuteranopia (green-blind)
#003D82
Tritanopia (blue-blind)
#52364F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #591b84;
/* rgb */ color: rgb(89, 27, 132);
/* oklch */ color: oklch(37.9% 0.164 306.8);
Tailwind
colors: {
  custom: {
    50: '#8d5fa9',
    500: '#591b84',
    950: '#000000',
  },
}
SCSS
$custom: #591b84;
$custom-light: #8d5fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#591b84",
  "rgb": {
    "r": 89,
    "g": 27,
    "b": 132
  },
  "hsl": {
    "h": 275.429,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37857,
    "c": 0.16432,
    "h": 306.8
  },
  "luminance": 0.04574
}

Semantic roles & 50–950 ramp

primary
#591B84
secondary
#73B743
accent
#E93F85
background
#F9F5FA
surface
#F1EAF4
border
#CBC6CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #591B84

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

Preview Lab → · Contrast checker → · Palette generator →

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