#591E8D#591E8D

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

Color values

HEX#591E8D
RGBrgb(89, 30, 141)
HSLhsl(272, 65%, 34%)
HSVhsv(272, 79%, 55%)
CMYKcmyk(36.9%, 78.7%, 0%, 44.7%)
CIE-LABlab(26.66, 47.25, -49.98)
CIE-LCHlch(26.66, 68.77, 313.39°)
OKLaboklab(38.92% 0.0934 -0.1425)
OKLCHoklch(38.92% 0.17 303.2)
XYZxyz(9.3907, 4.9755, 25.6598)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591E8D #528D1E
analogous
#221E8D #591E8D #8D1E89
triadic
#591E8D #8D591E #1E8D59
tetradic
#591E8D #8D221E #528D1E #1E898D
square
#591E8D #8D221E #528D1E #1E898D
split-complementary
#591E8D #898D1E #1E8D22
monochromatic
#190928 #39135B #591E8D #7929BF #974CD9

Accessibility & contrast

On white

10.53
#591E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #591E8D
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591E8D#FFFFFF#000000##FFFFFF
##591E8D1.0010.532.0010.53
#FFFFFF10.531.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #591e8d;
/* rgb */ color: rgb(89, 30, 141);
/* oklch */ color: oklch(38.9% 0.170 303.2);
Tailwind
colors: {
  custom: {
    50: '#8d61af',
    500: '#591e8d',
    950: '#000000',
  },
}
SCSS
$custom: #591e8d;
$custom-light: #8d61af;
$custom-dark: #000000;
JSON
{
  "hex": "#591e8d",
  "rgb": {
    "r": 89,
    "g": 30,
    "b": 141
  },
  "hsl": {
    "h": 271.892,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.3892,
    "c": 0.1704,
    "h": 303.2
  },
  "luminance": 0.04975
}

Semantic roles & 50–950 ramp

primary
#591E8D
secondary
#80BC4B
accent
#E8408F
background
#F9F6FA
surface
#F1EBF5
border
#CBC6CF
text
#0D0510
muted
#7E7A7F

Preview Lab

Preview with #591E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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