#591A7C#591A7C

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

Color values

HEX#591A7C
RGBrgb(89, 26, 124)
HSLhsl(279, 65%, 29%)
HSVhsv(279, 79%, 49%)
CMYKcmyk(28.2%, 79%, 0%, 51.4%)
CIE-LABlab(24.70, 44.86, -42.51)
CIE-LCHlch(24.70, 61.80, 316.54°)
OKLaboklab(37.1% 0.1011 -0.1205)
OKLCHoklch(37.1% 0.157 310)
XYZxyz(8.1266, 4.3180, 19.4702)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591A7C #3D7C1A
analogous
#281A7C #591A7C #7C1A6E
triadic
#591A7C #7C591A #1A7C59
tetradic
#591A7C #7C281A #3D7C1A #1A6E7C
square
#591A7C #7C281A #3D7C1A #1A6E7C
split-complementary
#591A7C #6E7C1A #1A7C28
monochromatic
#120519 #350F49 #591A7C #7D25AF #9E3BD6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##591A7C#FFFFFF#000000##FFFFFF
##591A7C1.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)
#00387F
Deuteranopia (green-blind)
#003C7A
Tritanopia (blue-blind)
#54324A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #591a7c;
/* rgb */ color: rgb(89, 26, 124);
/* oklch */ color: oklch(37.1% 0.157 310.0);
Tailwind
colors: {
  custom: {
    50: '#8c5ea3',
    500: '#591a7c',
    950: '#000000',
  },
}
SCSS
$custom: #591a7c;
$custom-light: #8c5ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#591a7c",
  "rgb": {
    "r": 89,
    "g": 26,
    "b": 124
  },
  "hsl": {
    "h": 278.571,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.371,
    "c": 0.15733,
    "h": 310
  },
  "luminance": 0.04318
}

Semantic roles & 50–950 ramp

primary
#591A7C
secondary
#69B042
accent
#E8407C
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #591A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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