#591D8C#591D8C

#591D8C is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.7% C 0.170 H 303.7°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#591D8C
RGBrgb(89, 29, 140)
HSLhsl(272, 66%, 33%)
HSVhsv(272, 79%, 55%)
CMYKcmyk(36.4%, 79.3%, 0%, 45.1%)
CIE-LABlab(26.44, 47.42, -49.73)
CIE-LCHlch(26.44, 68.71, 313.64°)
OKLaboklab(38.73% 0.0945 -0.1418)
OKLCHoklch(38.73% 0.17 303.7)
XYZxyz(9.2917, 4.8960, 25.2614)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591D8C #508C1D
analogous
#211D8C #591D8C #8C1D87
triadic
#591D8C #8C591D #1D8C59
tetradic
#591D8C #8C211D #508C1D #1D878C
square
#591D8C #8C211D #508C1D #1D878C
split-complementary
#591D8C #878C1D #1D8C21
monochromatic
#190827 #391259 #591D8C #7928BF #984AD9

Accessibility & contrast

On white

10.61
#591D8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#591D8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591D8C
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591D8C#FFFFFF#000000##FFFFFF
##591D8C1.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8F
Deuteranopia (green-blind)
#003E8A
Tritanopia (blue-blind)
#4F3A54
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #591d8c;
/* rgb */ color: rgb(89, 29, 140);
/* oklch */ color: oklch(38.7% 0.170 303.7);
Tailwind
colors: {
  custom: {
    50: '#8d60ae',
    500: '#591d8c',
    950: '#000000',
  },
}
SCSS
$custom: #591d8c;
$custom-light: #8d60ae;
$custom-dark: #000000;
JSON
{
  "hex": "#591d8c",
  "rgb": {
    "r": 89,
    "g": 29,
    "b": 140
  },
  "hsl": {
    "h": 272.432,
    "s": 65.68,
    "l": 33.137
  },
  "oklch": {
    "l": 0.38734,
    "c": 0.17041,
    "h": 303.7
  },
  "luminance": 0.04896
}

Semantic roles & 50–950 ramp

primary
#591D8C
secondary
#7EBC49
accent
#E93F8D
background
#F9F5FA
surface
#F1EAF4
border
#CBC6CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #591D8C

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

Preview Lab → · Contrast checker → · Palette generator →

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