#591996#591996

#591996 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.3% C 0.184 H 300.9°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#591996
RGBrgb(89, 25, 150)
HSLhsl(271, 71%, 34%)
HSVhsv(271, 83%, 59%)
CMYKcmyk(40.7%, 83.3%, 0%, 41.2%)
CIE-LABlab(26.79, 51.36, -55.33)
CIE-LCHlch(26.79, 75.49, 312.87°)
OKLaboklab(39.26% 0.0947 -0.1582)
OKLCHoklch(39.26% 0.184 300.9)
XYZxyz(9.9711, 5.0210, 29.2921)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591996 #569619
analogous
#1A1996 #591996 #961995
triadic
#591996 #965919 #199659
tetradic
#591996 #961A19 #569619 #199596
square
#591996 #961A19 #569619 #199596
split-complementary
#591996 #959619 #19961A
monochromatic
#1B082D #3A1062 #591996 #7822CA #9749E1

Accessibility & contrast

On white

10.48
#591996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#591996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591996
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591996#FFFFFF#000000##FFFFFF
##5919961.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #591996;
/* rgb */ color: rgb(89, 25, 150);
/* oklch */ color: oklch(39.3% 0.184 300.9);
Tailwind
colors: {
  custom: {
    50: '#8e5fb6',
    500: '#591996',
    950: '#000000',
  },
}
SCSS
$custom: #591996;
$custom-light: #8e5fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#591996",
  "rgb": {
    "r": 89,
    "g": 25,
    "b": 150
  },
  "hsl": {
    "h": 270.72,
    "s": 71.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.39256,
    "c": 0.18439,
    "h": 300.9
  },
  "luminance": 0.05021
}

Semantic roles & 50–950 ramp

primary
#591996
secondary
#84C249
accent
#EE3A92
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #591996

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

Preview Lab → · Contrast checker → · Palette generator →

#591996 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva