#591E8B#591E8B

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

Color values

HEX#591E8B
RGBrgb(89, 30, 139)
HSLhsl(272, 64%, 33%)
HSVhsv(272, 78%, 55%)
CMYKcmyk(36%, 78.4%, 0%, 45.5%)
CIE-LABlab(26.50, 46.76, -49.01)
CIE-LCHlch(26.50, 67.74, 313.66°)
OKLaboklab(38.75% 0.0939 -0.1397)
OKLCHoklch(38.75% 0.168 303.9)
XYZxyz(9.2432, 4.9165, 24.8831)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591E8B #508B1E
analogous
#221E8B #591E8B #8B1E86
triadic
#591E8B #8B591E #1E8B59
tetradic
#591E8B #8B221E #508B1E #1E868B
square
#591E8B #8B221E #508B1E #1E868B
split-complementary
#591E8B #868B1E #1E8B22
monochromatic
#190826 #391359 #591E8B #7929BD #984BD8

Accessibility & contrast

On white

10.59
#591E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #591E8B
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591E8B#FFFFFF#000000##FFFFFF
##591E8B1.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8E
Deuteranopia (green-blind)
#003F89
Tritanopia (blue-blind)
#4F3A54
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #591e8b;
/* rgb */ color: rgb(89, 30, 139);
/* oklch */ color: oklch(38.7% 0.168 303.9);
Tailwind
colors: {
  custom: {
    50: '#8d61ae',
    500: '#591e8b',
    950: '#000000',
  },
}
SCSS
$custom: #591e8b;
$custom-light: #8d61ae;
$custom-dark: #000000;
JSON
{
  "hex": "#591e8b",
  "rgb": {
    "r": 89,
    "g": 30,
    "b": 139
  },
  "hsl": {
    "h": 272.477,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.38749,
    "c": 0.16831,
    "h": 303.9
  },
  "luminance": 0.04916
}

Semantic roles & 50–950 ramp

primary
#591E8B
secondary
#7EBB4A
accent
#E7408D
background
#F9F5FA
surface
#F1EAF4
border
#CBC6CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #591E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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