#591A7E#591A7E

#591A7E is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.159 H 309.2°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#591A7E
RGBrgb(89, 26, 126)
HSLhsl(278, 66%, 30%)
HSVhsv(278, 79%, 49%)
CMYKcmyk(29.4%, 79.4%, 0%, 50.6%)
CIE-LABlab(24.86, 45.32, -43.52)
CIE-LCHlch(24.86, 62.83, 316.16°)
OKLaboklab(37.26% 0.1007 -0.1235)
OKLCHoklch(37.26% 0.159 309.2)
XYZxyz(8.2543, 4.3692, 20.1431)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591A7E #3F7E1A
analogous
#271A7E #591A7E #7E1A71
triadic
#591A7E #7E591A #1A7E59
tetradic
#591A7E #7E271A #3F7E1A #1A717E
square
#591A7E #7E271A #3F7E1A #1A717E
split-complementary
#591A7E #717E1A #1A7E27
monochromatic
#120519 #35104B #591A7E #7D24B1 #9D3CD7

Accessibility & contrast

On white

11.21
#591A7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#591A7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591A7E
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591A7E#FFFFFF#000000##FFFFFF
##591A7E1.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003981
Deuteranopia (green-blind)
#003C7C
Tritanopia (blue-blind)
#53334B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #591a7e;
/* rgb */ color: rgb(89, 26, 126);
/* oklch */ color: oklch(37.3% 0.159 309.2);
Tailwind
colors: {
  custom: {
    50: '#8c5ea4',
    500: '#591a7e',
    950: '#000000',
  },
}
SCSS
$custom: #591a7e;
$custom-light: #8c5ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#591a7e",
  "rgb": {
    "r": 89,
    "g": 26,
    "b": 126
  },
  "hsl": {
    "h": 277.8,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.37263,
    "c": 0.15933,
    "h": 309.2
  },
  "luminance": 0.04369
}

Semantic roles & 50–950 ramp

primary
#591A7E
secondary
#6BB242
accent
#E93F7E
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D050F
muted
#7D797F

Preview Lab

Preview with #591A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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