#591B96#591B96

#591B96 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.4% C 0.183 H 300.7°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#591B96
RGBrgb(89, 27, 150)
HSLhsl(270, 69%, 35%)
HSVhsv(270, 82%, 59%)
CMYKcmyk(40.7%, 82%, 0%, 41.2%)
CIE-LABlab(27.04, 50.63, -54.92)
CIE-LCHlch(27.04, 74.69, 312.67°)
OKLaboklab(39.43% 0.0933 -0.157)
OKLCHoklch(39.43% 0.183 300.7)
XYZxyz(10.0154, 5.1096, 29.3068)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591B96 #58961B
analogous
#1B1B96 #591B96 #961B96
triadic
#591B96 #96591B #1B9659
tetradic
#591B96 #961B1B #58961B #1B9696
square
#591B96 #961B1B #58961B #1B9696
split-complementary
#591B96 #96961B #1B961B
monochromatic
#1B082E #3A1262 #591B96 #7824CA #964DDF

Accessibility & contrast

On white

10.39
#591B96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#591B96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591B96
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591B96#FFFFFF#000000##FFFFFF
##591B961.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F99
Deuteranopia (green-blind)
#003F94
Tritanopia (blue-blind)
#4B3D59
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #591b96;
/* rgb */ color: rgb(89, 27, 150);
/* oklch */ color: oklch(39.4% 0.183 300.7);
Tailwind
colors: {
  custom: {
    50: '#8e60b6',
    500: '#591b96',
    950: '#000000',
  },
}
SCSS
$custom: #591b96;
$custom-light: #8e60b6;
$custom-dark: #000000;
JSON
{
  "hex": "#591b96",
  "rgb": {
    "r": 89,
    "g": 27,
    "b": 150
  },
  "hsl": {
    "h": 270.244,
    "s": 69.492,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39429,
    "c": 0.18262,
    "h": 300.7
  },
  "luminance": 0.0511
}

Semantic roles & 50–950 ramp

primary
#591B96
secondary
#86C14C
accent
#EC3B93
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #591B96

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

Preview Lab → · Contrast checker → · Palette generator →

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