#591E96#591E96

#591E96 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.7% C 0.180 H 300.4°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#591E96
RGBrgb(89, 30, 150)
HSLhsl(270, 67%, 35%)
HSVhsv(270, 80%, 59%)
CMYKcmyk(40.7%, 80%, 0%, 41.2%)
CIE-LABlab(27.45, 49.46, -54.26)
CIE-LCHlch(27.45, 73.42, 312.35°)
OKLaboklab(39.71% 0.0909 -0.1551)
OKLCHoklch(39.71% 0.18 300.4)
XYZxyz(10.0877, 5.2543, 29.3310)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591E96 #5B961E
analogous
#1E1F96 #591E96 #951E96
triadic
#591E96 #96591E #1E9659
tetradic
#591E96 #961E1F #5B961E #1E9695
square
#591E96 #961E1F #5B961E #1E9695
split-complementary
#591E96 #96951E #1F961E
monochromatic
#1C0A30 #3B1463 #591E96 #7728C9 #9652DC

Accessibility & contrast

On white

10.24
#591E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#591E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591E96
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591E96#FFFFFF#000000##FFFFFF
##591E961.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #591e96;
/* rgb */ color: rgb(89, 30, 150);
/* oklch */ color: oklch(39.7% 0.180 300.4);
Tailwind
colors: {
  custom: {
    50: '#8e61b6',
    500: '#591e96',
    950: '#000000',
  },
}
SCSS
$custom: #591e96;
$custom-light: #8e61b6;
$custom-dark: #000000;
JSON
{
  "hex": "#591e96",
  "rgb": {
    "r": 89,
    "g": 30,
    "b": 150
  },
  "hsl": {
    "h": 269.5,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39709,
    "c": 0.17978,
    "h": 300.4
  },
  "luminance": 0.05254
}

Semantic roles & 50–950 ramp

primary
#591E96
secondary
#89BF50
accent
#EA3E95
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #591E96

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

Preview Lab → · Contrast checker → · Palette generator →

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