#591D87#591D87

#591D87 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.3% C 0.165 H 305.4°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#591D87
RGBrgb(89, 29, 135)
HSLhsl(274, 65%, 32%)
HSVhsv(274, 79%, 53%)
CMYKcmyk(34.1%, 78.5%, 0%, 47.1%)
CIE-LABlab(26.02, 46.21, -47.29)
CIE-LCHlch(26.02, 66.12, 314.34°)
OKLaboklab(38.31% 0.0958 -0.1346)
OKLCHoklch(38.31% 0.165 305.4)
XYZxyz(8.9314, 4.7519, 23.3637)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591D87 #4B871D
analogous
#241D87 #591D87 #871D80
triadic
#591D87 #87591D #1D8759
tetradic
#591D87 #87241D #4B871D #1D8087
square
#591D87 #87241D #4B871D #1D8087
split-complementary
#591D87 #80871D #1D8724
monochromatic
#170722 #381255 #591D87 #7A28B9 #9947D7

Accessibility & contrast

On white

10.77
#591D87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#591D87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591D87
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591D87#FFFFFF#000000##FFFFFF
##591D871.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8A
Deuteranopia (green-blind)
#003E85
Tritanopia (blue-blind)
#503851
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #591d87;
/* rgb */ color: rgb(89, 29, 135);
/* oklch */ color: oklch(38.3% 0.165 305.4);
Tailwind
colors: {
  custom: {
    50: '#8d60ab',
    500: '#591d87',
    950: '#000000',
  },
}
SCSS
$custom: #591d87;
$custom-light: #8d60ab;
$custom-dark: #000000;
JSON
{
  "hex": "#591d87",
  "rgb": {
    "r": 89,
    "g": 29,
    "b": 135
  },
  "hsl": {
    "h": 273.962,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.38308,
    "c": 0.16524,
    "h": 305.4
  },
  "luminance": 0.04752
}

Semantic roles & 50–950 ramp

primary
#591D87
secondary
#78B946
accent
#E84089
background
#F9F5FA
surface
#F1EAF4
border
#CBC6CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #591D87

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

Preview Lab → · Contrast checker → · Palette generator →

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