#591F96#591F96

#591F96 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.8% C 0.179 H 300.3°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#591F96
RGBrgb(89, 31, 150)
HSLhsl(269, 66%, 35%)
HSVhsv(269, 79%, 59%)
CMYKcmyk(40.7%, 79.3%, 0%, 41.2%)
CIE-LABlab(27.59, 49.05, -54.03)
CIE-LCHlch(27.59, 72.97, 312.24°)
OKLaboklab(39.81% 0.0901 -0.1544)
OKLCHoklch(39.81% 0.179 300.3)
XYZxyz(10.1135, 5.3057, 29.3395)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591F96 #5C961F
analogous
#1F2096 #591F96 #941F96
triadic
#591F96 #96591F #1F9659
tetradic
#591F96 #961F20 #5C961F #1F9694
square
#591F96 #961F20 #5C961F #1F9694
split-complementary
#591F96 #96941F #20961F
monochromatic
#1D0A31 #3B1563 #591F96 #7729C9 #9654DC

Accessibility & contrast

On white

10.19
#591F96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#591F96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591F96
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591F96#FFFFFF#000000##FFFFFF
##591F961.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004199
Deuteranopia (green-blind)
#004094
Tritanopia (blue-blind)
#4B3F5A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #591f96;
/* rgb */ color: rgb(89, 31, 150);
/* oklch */ color: oklch(39.8% 0.179 300.3);
Tailwind
colors: {
  custom: {
    50: '#8e62b6',
    500: '#591f96',
    950: '#000000',
  },
}
SCSS
$custom: #591f96;
$custom-light: #8e62b6;
$custom-dark: #000000;
JSON
{
  "hex": "#591f96",
  "rgb": {
    "r": 89,
    "g": 31,
    "b": 150
  },
  "hsl": {
    "h": 269.244,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39808,
    "c": 0.17878,
    "h": 300.3
  },
  "luminance": 0.05306
}

Semantic roles & 50–950 ramp

primary
#591F96
secondary
#8ABF52
accent
#E93F96
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #591F96

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

Preview Lab → · Contrast checker → · Palette generator →

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