#591F97#591F97

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

Color values

HEX#591F97
RGBrgb(89, 31, 151)
HSLhsl(269, 66%, 36%)
HSVhsv(269, 79%, 59%)
CMYKcmyk(41.1%, 79.5%, 0%, 40.8%)
CIE-LABlab(27.68, 49.30, -54.50)
CIE-LCHlch(27.68, 73.49, 312.13°)
OKLaboklab(39.9% 0.0898 -0.1558)
OKLCHoklch(39.9% 0.18 300)
XYZxyz(10.1943, 5.3381, 29.7654)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591F97 #5D971F
analogous
#1F2197 #591F97 #951F97
triadic
#591F97 #97591F #1F9759
tetradic
#591F97 #971F21 #5D971F #1F9795
square
#591F97 #971F21 #5D971F #1F9795
split-complementary
#591F97 #97951F #21971F
monochromatic
#1D0A31 #3B1564 #591F97 #7729CA #9654DC

Accessibility & contrast

On white

10.16
#591F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#591F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591F97
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591F97#FFFFFF#000000##FFFFFF
##591F971.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #591f97;
/* rgb */ color: rgb(89, 31, 151);
/* oklch */ color: oklch(39.9% 0.180 300.0);
Tailwind
colors: {
  custom: {
    50: '#8e62b7',
    500: '#591f97',
    950: '#000000',
  },
}
SCSS
$custom: #591f97;
$custom-light: #8e62b7;
$custom-dark: #000000;
JSON
{
  "hex": "#591f97",
  "rgb": {
    "r": 89,
    "g": 31,
    "b": 151
  },
  "hsl": {
    "h": 269,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39897,
    "c": 0.17983,
    "h": 300
  },
  "luminance": 0.05338
}

Semantic roles & 50–950 ramp

primary
#591F97
secondary
#8BBF52
accent
#E93F97
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #591F97

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

Preview Lab → · Contrast checker → · Palette generator →

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