#591A81#591A81

#591A81 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.5% C 0.162 H 308.0°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#591A81
RGBrgb(89, 26, 129)
HSLhsl(277, 66%, 30%)
HSVhsv(277, 80%, 51%)
CMYKcmyk(31%, 79.8%, 0%, 49.4%)
CIE-LABlab(25.10, 46.01, -45.02)
CIE-LCHlch(25.10, 64.37, 315.62°)
OKLaboklab(37.51% 0.1 -0.1279)
OKLCHoklch(37.51% 0.162 308)
XYZxyz(8.4508, 4.4477, 21.1779)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591A81 #42811A
analogous
#251A81 #591A81 #811A75
triadic
#591A81 #81591A #1A8159
tetradic
#591A81 #81251A #42811A #1A7581
square
#591A81 #81251A #42811A #1A7581
split-complementary
#591A81 #75811A #1A8125
monochromatic
#13051B #36104E #591A81 #7C24B4 #9C3DD8

Accessibility & contrast

On white

11.11
#591A81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#591A81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591A81
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591A81#FFFFFF#000000##FFFFFF
##591A811.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #591a81;
/* rgb */ color: rgb(89, 26, 129);
/* oklch */ color: oklch(37.5% 0.162 308.0);
Tailwind
colors: {
  custom: {
    50: '#8c5ea6',
    500: '#591a81',
    950: '#000000',
  },
}
SCSS
$custom: #591a81;
$custom-light: #8c5ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#591a81",
  "rgb": {
    "r": 89,
    "g": 26,
    "b": 129
  },
  "hsl": {
    "h": 276.699,
    "s": 66.452,
    "l": 30.392
  },
  "oklch": {
    "l": 0.3751,
    "c": 0.16235,
    "h": 308
  },
  "luminance": 0.04448
}

Semantic roles & 50–950 ramp

primary
#591A81
secondary
#6FB542
accent
#E93E81
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0D050F
muted
#7D797F

Preview Lab

Preview with #591A81

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

Preview Lab → · Contrast checker → · Palette generator →

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