#591F89#591F89

#591F89 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.7% C 0.165 H 304.5°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#591F89
RGBrgb(89, 31, 137)
HSLhsl(273, 63%, 33%)
HSVhsv(273, 77%, 54%)
CMYKcmyk(35%, 77.4%, 0%, 46.3%)
CIE-LABlab(26.48, 45.85, -47.79)
CIE-LCHlch(26.48, 66.23, 313.81°)
OKLaboklab(38.68% 0.0935 -0.1361)
OKLCHoklch(38.68% 0.165 304.5)
XYZxyz(9.1241, 4.9100, 24.1291)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591F89 #4F891F
analogous
#241F89 #591F89 #891F84
triadic
#591F89 #89591F #1F8959
tetradic
#591F89 #89241F #4F891F #1F8489
square
#591F89 #89241F #4F891F #1F8489
split-complementary
#591F89 #84891F #1F8924
monochromatic
#180825 #391457 #591F89 #792ABB #984CD6

Accessibility & contrast

On white

10.60
#591F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#591F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591F89
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591F89#FFFFFF#000000##FFFFFF
##591F891.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8C
Deuteranopia (green-blind)
#003F87
Tritanopia (blue-blind)
#503A53
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #591f89;
/* rgb */ color: rgb(89, 31, 137);
/* oklch */ color: oklch(38.7% 0.165 304.5);
Tailwind
colors: {
  custom: {
    50: '#8d61ac',
    500: '#591f89',
    950: '#000000',
  },
}
SCSS
$custom: #591f89;
$custom-light: #8d61ac;
$custom-dark: #000000;
JSON
{
  "hex": "#591f89",
  "rgb": {
    "r": 89,
    "g": 31,
    "b": 137
  },
  "hsl": {
    "h": 272.83,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.38684,
    "c": 0.16512,
    "h": 304.5
  },
  "luminance": 0.0491
}

Semantic roles & 50–950 ramp

primary
#591F89
secondary
#7DB94B
accent
#E6428C
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0510
muted
#7E7A7F

Preview Lab

Preview with #591F89

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

Preview Lab → · Contrast checker → · Palette generator →

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