#591D97#591D97

#591D97 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.7% C 0.182 H 300.2°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#591D97
RGBrgb(89, 29, 151)
HSLhsl(270, 68%, 35%)
HSVhsv(270, 81%, 59%)
CMYKcmyk(41.1%, 80.8%, 0%, 40.8%)
CIE-LABlab(27.40, 50.10, -54.95)
CIE-LCHlch(27.40, 74.36, 312.36°)
OKLaboklab(39.7% 0.0914 -0.1571)
OKLCHoklch(39.7% 0.182 300.2)
XYZxyz(10.1437, 5.2368, 29.7485)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591D97 #5B971D
analogous
#1D1E97 #591D97 #961D97
triadic
#591D97 #97591D #1D9759
tetradic
#591D97 #971D1E #5B971D #1D9796
square
#591D97 #971D1E #5B971D #1D9796
split-complementary
#591D97 #97961D #1E971D
monochromatic
#1C0930 #3B1364 #591D97 #7727CA #9651DE

Accessibility & contrast

On white

10.26
#591D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#591D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591D97
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591D97#FFFFFF#000000##FFFFFF
##591D971.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409A
Deuteranopia (green-blind)
#004095
Tritanopia (blue-blind)
#4A3F5A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #591d97;
/* rgb */ color: rgb(89, 29, 151);
/* oklch */ color: oklch(39.7% 0.182 300.2);
Tailwind
colors: {
  custom: {
    50: '#8e61b7',
    500: '#591d97',
    950: '#000000',
  },
}
SCSS
$custom: #591d97;
$custom-light: #8e61b7;
$custom-dark: #000000;
JSON
{
  "hex": "#591d97",
  "rgb": {
    "r": 89,
    "g": 29,
    "b": 151
  },
  "hsl": {
    "h": 269.508,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39703,
    "c": 0.18178,
    "h": 300.2
  },
  "luminance": 0.05237
}

Semantic roles & 50–950 ramp

primary
#591D97
secondary
#89C04F
accent
#EB3D95
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #591D97

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

Preview Lab → · Contrast checker → · Palette generator →

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