#591D96#591D96

#591D96 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.6% C 0.181 H 300.5°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#591D96
RGBrgb(89, 29, 150)
HSLhsl(270, 68%, 35%)
HSVhsv(270, 81%, 59%)
CMYKcmyk(40.7%, 80.7%, 0%, 41.2%)
CIE-LABlab(27.31, 49.86, -54.48)
CIE-LCHlch(27.31, 73.85, 312.46°)
OKLaboklab(39.61% 0.0917 -0.1557)
OKLCHoklch(39.61% 0.181 300.5)
XYZxyz(10.0628, 5.2045, 29.3227)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591D96 #5A961D
analogous
#1D1D96 #591D96 #951D96
triadic
#591D96 #96591D #1D9659
tetradic
#591D96 #961D1D #5A961D #1D9695
square
#591D96 #961D1D #5A961D #1D9695
split-complementary
#591D96 #96951D #1D961D
monochromatic
#1C092F #3B1363 #591D96 #7727C9 #9650DD

Accessibility & contrast

On white

10.29
#591D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#591D96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591D96
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591D96#FFFFFF#000000##FFFFFF
##591D961.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004099
Deuteranopia (green-blind)
#004094
Tritanopia (blue-blind)
#4B3E5A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #591d96;
/* rgb */ color: rgb(89, 29, 150);
/* oklch */ color: oklch(39.6% 0.181 300.5);
Tailwind
colors: {
  custom: {
    50: '#8e61b6',
    500: '#591d96',
    950: '#000000',
  },
}
SCSS
$custom: #591d96;
$custom-light: #8e61b6;
$custom-dark: #000000;
JSON
{
  "hex": "#591d96",
  "rgb": {
    "r": 89,
    "g": 29,
    "b": 150
  },
  "hsl": {
    "h": 269.752,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39613,
    "c": 0.18075,
    "h": 300.5
  },
  "luminance": 0.05205
}

Semantic roles & 50–950 ramp

primary
#591D96
secondary
#88C04F
accent
#EA3D95
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #591D96

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

Preview Lab → · Contrast checker → · Palette generator →

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