#591E97#591E97

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

Color values

HEX#591E97
RGBrgb(89, 30, 151)
HSLhsl(269, 67%, 35%)
HSVhsv(269, 80%, 59%)
CMYKcmyk(41.1%, 80.1%, 0%, 40.8%)
CIE-LABlab(27.54, 49.70, -54.73)
CIE-LCHlch(27.54, 73.93, 312.25°)
OKLaboklab(39.8% 0.0906 -0.1565)
OKLCHoklch(39.8% 0.181 300.1)
XYZxyz(10.1686, 5.2867, 29.7568)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591E97 #5C971E
analogous
#1E2097 #591E97 #951E97
triadic
#591E97 #97591E #1E9759
tetradic
#591E97 #971E20 #5C971E #1E9795
square
#591E97 #971E20 #5C971E #1E9795
split-complementary
#591E97 #97951E #20971E
monochromatic
#1D0A31 #3B1464 #591E97 #7728CA #9653DD

Accessibility & contrast

On white

10.21
#591E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #591E97
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591E97#FFFFFF#000000##FFFFFF
##591E971.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419A
Deuteranopia (green-blind)
#004095
Tritanopia (blue-blind)
#4A3F5B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #591e97;
/* rgb */ color: rgb(89, 30, 151);
/* oklch */ color: oklch(39.8% 0.181 300.1);
Tailwind
colors: {
  custom: {
    50: '#8e61b7',
    500: '#591e97',
    950: '#000000',
  },
}
SCSS
$custom: #591e97;
$custom-light: #8e61b7;
$custom-dark: #000000;
JSON
{
  "hex": "#591e97",
  "rgb": {
    "r": 89,
    "g": 30,
    "b": 151
  },
  "hsl": {
    "h": 269.256,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39799,
    "c": 0.18081,
    "h": 300.1
  },
  "luminance": 0.05287
}

Semantic roles & 50–950 ramp

primary
#591E97
secondary
#8AC051
accent
#EA3E96
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #591E97

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

Preview Lab → · Contrast checker → · Palette generator →

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