#591B81#591B81

#591B81 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.6% C 0.161 H 307.9°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#591B81
RGBrgb(89, 27, 129)
HSLhsl(276, 65%, 31%)
HSVhsv(276, 79%, 51%)
CMYKcmyk(31%, 79.1%, 0%, 49.4%)
CIE-LABlab(25.24, 45.61, -44.79)
CIE-LCHlch(25.24, 63.93, 315.52°)
OKLaboklab(37.61% 0.0991 -0.1273)
OKLCHoklch(37.61% 0.161 307.9)
XYZxyz(8.4734, 4.4928, 21.1854)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591B81 #43811B
analogous
#261B81 #591B81 #811B76
triadic
#591B81 #81591B #1B8159
tetradic
#591B81 #81261B #43811B #1B7681
square
#591B81 #81261B #43811B #1B7681
split-complementary
#591B81 #76811B #1B8126
monochromatic
#13061C #36104E #591B81 #7C26B4 #9C3FD7

Accessibility & contrast

On white

11.06
#591B81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#591B81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591B81
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591B81#FFFFFF#000000##FFFFFF
##591B811.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A84
Deuteranopia (green-blind)
#003C7F
Tritanopia (blue-blind)
#52344D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #591b81;
/* rgb */ color: rgb(89, 27, 129);
/* oklch */ color: oklch(37.6% 0.161 307.9);
Tailwind
colors: {
  custom: {
    50: '#8c5fa6',
    500: '#591b81',
    950: '#000000',
  },
}
SCSS
$custom: #591b81;
$custom-light: #8c5fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#591b81",
  "rgb": {
    "r": 89,
    "g": 27,
    "b": 129
  },
  "hsl": {
    "h": 276.471,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.37607,
    "c": 0.16128,
    "h": 307.9
  },
  "luminance": 0.04493
}

Semantic roles & 50–950 ramp

primary
#591B81
secondary
#70B543
accent
#E83F82
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0D050F
muted
#7D797F

Preview Lab

Preview with #591B81

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

Preview Lab → · Contrast checker → · Palette generator →

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