#591F8A#591F8A

#591F8A is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.8% C 0.166 H 304.1°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#591F8A
RGBrgb(89, 31, 138)
HSLhsl(273, 63%, 33%)
HSVhsv(273, 78%, 54%)
CMYKcmyk(35.5%, 77.5%, 0%, 45.9%)
CIE-LABlab(26.56, 46.09, -48.28)
CIE-LCHlch(26.56, 66.75, 313.67°)
OKLaboklab(38.77% 0.0932 -0.1375)
OKLCHoklch(38.77% 0.166 304.1)
XYZxyz(9.1962, 4.9388, 24.5086)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591F8A #508A1F
analogous
#231F8A #591F8A #8A1F85
triadic
#591F8A #8A591F #1F8A59
tetradic
#591F8A #8A231F #508A1F #1F858A
square
#591F8A #8A231F #508A1F #1F858A
split-complementary
#591F8A #858A1F #1F8A23
monochromatic
#190926 #391458 #591F8A #792ABC #984CD7

Accessibility & contrast

On white

10.56
#591F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #591F8A
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591F8A#FFFFFF#000000##FFFFFF
##591F8A1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8D
Deuteranopia (green-blind)
#003F88
Tritanopia (blue-blind)
#4F3A53
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #591f8a;
/* rgb */ color: rgb(89, 31, 138);
/* oklch */ color: oklch(38.8% 0.166 304.1);
Tailwind
colors: {
  custom: {
    50: '#8d61ad',
    500: '#591f8a',
    950: '#000000',
  },
}
SCSS
$custom: #591f8a;
$custom-light: #8d61ad;
$custom-dark: #000000;
JSON
{
  "hex": "#591f8a",
  "rgb": {
    "r": 89,
    "g": 31,
    "b": 138
  },
  "hsl": {
    "h": 272.523,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.38768,
    "c": 0.16617,
    "h": 304.1
  },
  "luminance": 0.04939
}

Semantic roles & 50–950 ramp

primary
#591F8A
secondary
#7EBA4B
accent
#E6418D
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0510
muted
#7E7A7F

Preview Lab

Preview with #591F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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