#591A8B#591A8B

#591A8B is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.4% C 0.172 H 304.4°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#591A8B
RGBrgb(89, 26, 139)
HSLhsl(273, 68%, 32%)
HSVhsv(273, 81%, 55%)
CMYKcmyk(36%, 81.3%, 0%, 45.5%)
CIE-LABlab(25.94, 48.36, -49.91)
CIE-LCHlch(25.94, 69.50, 314.09°)
OKLaboklab(38.36% 0.0974 -0.1423)
OKLCHoklch(38.36% 0.172 304.4)
XYZxyz(9.1483, 4.7267, 24.8515)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591A8B #4C8B1A
analogous
#201A8B #591A8B #8B1A85
triadic
#591A8B #8B591A #1A8B59
tetradic
#591A8B #8B201A #4C8B1A #1A858B
square
#591A8B #8B201A #4C8B1A #1A858B
split-complementary
#591A8B #858B1A #1A8B20
monochromatic
#170724 #381057 #591A8B #7A24BF #9843DC

Accessibility & contrast

On white

10.79
#591A8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#591A8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591A8B
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591A8B#FFFFFF#000000##FFFFFF
##591A8B1.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8E
Deuteranopia (green-blind)
#003D89
Tritanopia (blue-blind)
#4F3853
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #591a8b;
/* rgb */ color: rgb(89, 26, 139);
/* oklch */ color: oklch(38.4% 0.172 304.4);
Tailwind
colors: {
  custom: {
    50: '#8d5fae',
    500: '#591a8b',
    950: '#000000',
  },
}
SCSS
$custom: #591a8b;
$custom-light: #8d5fae;
$custom-dark: #000000;
JSON
{
  "hex": "#591a8b",
  "rgb": {
    "r": 89,
    "g": 26,
    "b": 139
  },
  "hsl": {
    "h": 273.451,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38361,
    "c": 0.17242,
    "h": 304.4
  },
  "luminance": 0.04727
}

Semantic roles & 50–950 ramp

primary
#591A8B
secondary
#79BD44
accent
#EB3C8A
background
#F9F5FA
surface
#F1EAF4
border
#CBC6CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #591A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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