#591E87#591E87

#591E87 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.4% C 0.164 H 305.3°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#591E87
RGBrgb(89, 30, 135)
HSLhsl(274, 64%, 32%)
HSVhsv(274, 78%, 53%)
CMYKcmyk(34.1%, 77.8%, 0%, 47.1%)
CIE-LABlab(26.16, 45.79, -47.06)
CIE-LCHlch(26.16, 65.66, 314.22°)
OKLaboklab(38.41% 0.0949 -0.1339)
OKLCHoklch(38.41% 0.164 305.3)
XYZxyz(8.9563, 4.8017, 23.3720)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591E87 #4C871E
analogous
#241E87 #591E87 #871E81
triadic
#591E87 #87591E #1E8759
tetradic
#591E87 #87241E #4C871E #1E8187
square
#591E87 #87241E #4C871E #1E8187
split-complementary
#591E87 #81871E #1E8724
monochromatic
#170823 #381355 #591E87 #7A29B9 #9849D7

Accessibility & contrast

On white

10.71
#591E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#591E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591E87
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591E87#FFFFFF#000000##FFFFFF
##591E871.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.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: #591e87;
/* rgb */ color: rgb(89, 30, 135);
/* oklch */ color: oklch(38.4% 0.164 305.3);
Tailwind
colors: {
  custom: {
    50: '#8d61ab',
    500: '#591e87',
    950: '#000000',
  },
}
SCSS
$custom: #591e87;
$custom-light: #8d61ab;
$custom-dark: #000000;
JSON
{
  "hex": "#591e87",
  "rgb": {
    "r": 89,
    "g": 30,
    "b": 135
  },
  "hsl": {
    "h": 273.714,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38411,
    "c": 0.16413,
    "h": 305.3
  },
  "luminance": 0.04802
}

Semantic roles & 50–950 ramp

primary
#591E87
secondary
#79B948
accent
#E7418A
background
#F9F5FA
surface
#F1EAF4
border
#CBC6CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #591E87

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

Preview Lab → · Contrast checker → · Palette generator →

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