#591A7B#591A7B

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

Color values

HEX#591A7B
RGBrgb(89, 26, 123)
HSLhsl(279, 65%, 29%)
HSVhsv(279, 79%, 48%)
CMYKcmyk(27.6%, 78.9%, 0%, 51.8%)
CIE-LABlab(24.62, 44.63, -42.00)
CIE-LCHlch(24.62, 61.29, 316.74°)
OKLaboklab(37.02% 0.1013 -0.1191)
OKLCHoklch(37.02% 0.156 310.4)
XYZxyz(8.0637, 4.2929, 19.1389)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591A7B #3C7B1A
analogous
#291A7B #591A7B #7B1A6D
triadic
#591A7B #7B591A #1A7B59
tetradic
#591A7B #7B291A #3C7B1A #1A6D7B
square
#591A7B #7B291A #3C7B1A #1A6D7B
split-complementary
#591A7B #6D7B1A #1A7B29
monochromatic
#120519 #340F48 #591A7B #7E25AE #9F3AD5

Accessibility & contrast

On white

11.30
#591A7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #591A7B
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591A7B#FFFFFF#000000##FFFFFF
##591A7B1.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387E
Deuteranopia (green-blind)
#013B79
Tritanopia (blue-blind)
#54314A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #591a7b;
/* rgb */ color: rgb(89, 26, 123);
/* oklch */ color: oklch(37.0% 0.156 310.4);
Tailwind
colors: {
  custom: {
    50: '#8c5ea2',
    500: '#591a7b',
    950: '#000000',
  },
}
SCSS
$custom: #591a7b;
$custom-light: #8c5ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#591a7b",
  "rgb": {
    "r": 89,
    "g": 26,
    "b": 123
  },
  "hsl": {
    "h": 278.969,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.37019,
    "c": 0.15632,
    "h": 310.4
  },
  "luminance": 0.04293
}

Semantic roles & 50–950 ramp

primary
#591A7B
secondary
#68AF42
accent
#E8407B
background
#F8F5FA
surface
#F0E9F3
border
#CBC5CD
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #591A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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