#591D8F#591D8F

#591D8F is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.0% C 0.174 H 302.7°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#591D8F
RGBrgb(89, 29, 143)
HSLhsl(272, 66%, 34%)
HSVhsv(272, 80%, 56%)
CMYKcmyk(37.8%, 79.7%, 0%, 43.9%)
CIE-LABlab(26.69, 48.14, -51.17)
CIE-LCHlch(26.69, 70.26, 313.26°)
OKLaboklab(38.99% 0.0937 -0.146)
OKLCHoklch(38.99% 0.174 302.7)
XYZxyz(9.5159, 4.9857, 26.4423)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591D8F #538F1D
analogous
#201D8F #591D8F #8F1D8C
triadic
#591D8F #8F591D #1D8F59
tetradic
#591D8F #8F201D #538F1D #1D8C8F
square
#591D8F #8F201D #538F1D #1D8C8F
split-complementary
#591D8F #8C8F1D #1D8F20
monochromatic
#1A0829 #39135C #591D8F #7927C2 #974CDB

Accessibility & contrast

On white

10.51
#591D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#591D8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591D8F
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591D8F#FFFFFF#000000##FFFFFF
##591D8F1.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#003F8D
Tritanopia (blue-blind)
#4E3B56
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #591d8f;
/* rgb */ color: rgb(89, 29, 143);
/* oklch */ color: oklch(39.0% 0.174 302.7);
Tailwind
colors: {
  custom: {
    50: '#8e61b1',
    500: '#591d8f',
    950: '#000000',
  },
}
SCSS
$custom: #591d8f;
$custom-light: #8e61b1;
$custom-dark: #000000;
JSON
{
  "hex": "#591d8f",
  "rgb": {
    "r": 89,
    "g": 29,
    "b": 143
  },
  "hsl": {
    "h": 271.579,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.38994,
    "c": 0.17351,
    "h": 302.7
  },
  "luminance": 0.04986
}

Semantic roles & 50–950 ramp

primary
#591D8F
secondary
#81BD4B
accent
#E93F8F
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #591D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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