#591D8D#591D8D

#591D8D is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.8% C 0.171 H 303.4°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#591D8D
RGBrgb(89, 29, 141)
HSLhsl(272, 66%, 33%)
HSVhsv(272, 79%, 55%)
CMYKcmyk(36.9%, 79.4%, 0%, 44.7%)
CIE-LABlab(26.52, 47.66, -50.21)
CIE-LCHlch(26.52, 69.23, 313.51°)
OKLaboklab(38.82% 0.0943 -0.1432)
OKLCHoklch(38.82% 0.171 303.4)
XYZxyz(9.3658, 4.9257, 25.6515)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591D8D #518D1D
analogous
#211D8D #591D8D #8D1D89
triadic
#591D8D #8D591D #1D8D59
tetradic
#591D8D #8D211D #518D1D #1D898D
square
#591D8D #8D211D #518D1D #1D898D
split-complementary
#591D8D #898D1D #1D8D21
monochromatic
#190827 #39135A #591D8D #7927C0 #974BDA

Accessibility & contrast

On white

10.58
#591D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#591D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591D8D
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591D8D#FFFFFF#000000##FFFFFF
##591D8D1.0010.581.9910.58
#FFFFFF10.581.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E90
Deuteranopia (green-blind)
#003E8B
Tritanopia (blue-blind)
#4E3A55
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #591d8d;
/* rgb */ color: rgb(89, 29, 141);
/* oklch */ color: oklch(38.8% 0.171 303.4);
Tailwind
colors: {
  custom: {
    50: '#8d60af',
    500: '#591d8d',
    950: '#000000',
  },
}
SCSS
$custom: #591d8d;
$custom-light: #8d60af;
$custom-dark: #000000;
JSON
{
  "hex": "#591d8d",
  "rgb": {
    "r": 89,
    "g": 29,
    "b": 141
  },
  "hsl": {
    "h": 272.143,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.3882,
    "c": 0.17145,
    "h": 303.4
  },
  "luminance": 0.04926
}

Semantic roles & 50–950 ramp

primary
#591D8D
secondary
#7FBC4A
accent
#E93F8E
background
#F9F5FA
surface
#F1EAF5
border
#CBC6CF
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #591D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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