#591B7A#591B7A

#591B7A is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.0% C 0.154 H 310.7°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#591B7A
RGBrgb(89, 27, 122)
HSLhsl(279, 64%, 29%)
HSVhsv(279, 78%, 48%)
CMYKcmyk(27%, 77.9%, 0%, 52.2%)
CIE-LABlab(24.68, 43.99, -41.27)
CIE-LCHlch(24.68, 60.32, 316.83°)
OKLaboklab(37.04% 0.1005 -0.1169)
OKLCHoklch(37.04% 0.154 310.7)
XYZxyz(8.0239, 4.3130, 18.8184)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591B7A #3C7A1B
analogous
#2A1B7A #591B7A #7A1B6C
triadic
#591B7A #7A591B #1B7A59
tetradic
#591B7A #7A2A1B #3C7A1B #1B6C7A
square
#591B7A #7A2A1B #3C7A1B #1B6C7A
split-complementary
#591B7A #6C7A1B #1B7A2A
monochromatic
#120619 #341048 #591B7A #7E26AC #9F3CD4

Accessibility & contrast

On white

11.27
#591B7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#591B7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591B7A
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591B7A#FFFFFF#000000##FFFFFF
##591B7A1.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387D
Deuteranopia (green-blind)
#063C78
Tritanopia (blue-blind)
#553149
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #591b7a;
/* rgb */ color: rgb(89, 27, 122);
/* oklch */ color: oklch(37.0% 0.154 310.7);
Tailwind
colors: {
  custom: {
    50: '#8c5fa1',
    500: '#591b7a',
    950: '#000000',
  },
}
SCSS
$custom: #591b7a;
$custom-light: #8c5fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#591b7a",
  "rgb": {
    "r": 89,
    "g": 27,
    "b": 122
  },
  "hsl": {
    "h": 279.158,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.37039,
    "c": 0.15418,
    "h": 310.7
  },
  "luminance": 0.04313
}

Semantic roles & 50–950 ramp

primary
#591B7A
secondary
#68AE43
accent
#E7417B
background
#F8F5FA
surface
#F0E9F3
border
#CBC5CD
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #591B7A

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

Preview Lab → · Contrast checker → · Palette generator →

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