#591B97#591B97

#591B97 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.5% C 0.184 H 300.4°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#591B97
RGBrgb(89, 27, 151)
HSLhsl(270, 70%, 35%)
HSVhsv(270, 82%, 59%)
CMYKcmyk(41.1%, 82.1%, 0%, 40.8%)
CIE-LABlab(27.14, 50.87, -55.38)
CIE-LCHlch(27.14, 75.20, 312.57°)
OKLaboklab(39.52% 0.093 -0.1584)
OKLCHoklch(39.52% 0.184 300.4)
XYZxyz(10.0963, 5.1420, 29.7327)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591B97 #59971B
analogous
#1B1B97 #591B97 #971B97
triadic
#591B97 #97591B #1B9759
tetradic
#591B97 #971B1B #59971B #1B9797
square
#591B97 #971B1B #59971B #1B9797
split-complementary
#591B97 #97971B #1B971B
monochromatic
#1C082F #3A1263 #591B97 #7824CB #964DDF

Accessibility & contrast

On white

10.35
#591B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#591B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591B97
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591B97#FFFFFF#000000##FFFFFF
##591B971.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409A
Deuteranopia (green-blind)
#003F95
Tritanopia (blue-blind)
#4A3E5A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #591b97;
/* rgb */ color: rgb(89, 27, 151);
/* oklch */ color: oklch(39.5% 0.184 300.4);
Tailwind
colors: {
  custom: {
    50: '#8e60b7',
    500: '#591b97',
    950: '#000000',
  },
}
SCSS
$custom: #591b97;
$custom-light: #8e60b7;
$custom-dark: #000000;
JSON
{
  "hex": "#591b97",
  "rgb": {
    "r": 89,
    "g": 27,
    "b": 151
  },
  "hsl": {
    "h": 270,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.3952,
    "c": 0.18363,
    "h": 300.4
  },
  "luminance": 0.05142
}

Semantic roles & 50–950 ramp

primary
#591B97
secondary
#87C14C
accent
#EC3B94
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #591B97

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

Preview Lab → · Contrast checker → · Palette generator →

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