#591D8E#591D8E

#591D8E is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.9% C 0.172 H 303.0°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#591D8E
RGBrgb(89, 29, 142)
HSLhsl(272, 66%, 34%)
HSVhsv(272, 80%, 56%)
CMYKcmyk(37.3%, 79.6%, 0%, 44.3%)
CIE-LABlab(26.61, 47.90, -50.69)
CIE-LCHlch(26.61, 69.74, 313.38°)
OKLaboklab(38.91% 0.094 -0.1446)
OKLCHoklch(38.91% 0.172 303)
XYZxyz(9.4405, 4.9556, 26.0451)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591D8E #528E1D
analogous
#201D8E #591D8E #8E1D8A
triadic
#591D8E #8E591D #1D8E59
tetradic
#591D8E #8E201D #528E1D #1D8A8E
square
#591D8E #8E201D #528E1D #1D8A8E
split-complementary
#591D8E #8A8E1D #1D8E20
monochromatic
#190828 #39135B #591D8E #7927C1 #974BDA

Accessibility & contrast

On white

10.55
#591D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #591D8E
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591D8E#FFFFFF#000000##FFFFFF
##591D8E1.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E91
Deuteranopia (green-blind)
#003F8C
Tritanopia (blue-blind)
#4E3B55
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #591d8e;
/* rgb */ color: rgb(89, 29, 142);
/* oklch */ color: oklch(38.9% 0.172 303.0);
Tailwind
colors: {
  custom: {
    50: '#8d61b0',
    500: '#591d8e',
    950: '#000000',
  },
}
SCSS
$custom: #591d8e;
$custom-light: #8d61b0;
$custom-dark: #000000;
JSON
{
  "hex": "#591d8e",
  "rgb": {
    "r": 89,
    "g": 29,
    "b": 142
  },
  "hsl": {
    "h": 271.858,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.38907,
    "c": 0.17248,
    "h": 303
  },
  "luminance": 0.04956
}

Semantic roles & 50–950 ramp

primary
#591D8E
secondary
#80BD4A
accent
#E93F8F
background
#F9F5FA
surface
#F1EAF5
border
#CBC6CF
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #591D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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