#591B7E#591B7E

#591B7E is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.158 H 309.1°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#591B7E
RGBrgb(89, 27, 126)
HSLhsl(278, 65%, 30%)
HSVhsv(278, 79%, 49%)
CMYKcmyk(29.4%, 78.6%, 0%, 50.6%)
CIE-LABlab(25.00, 44.91, -43.29)
CIE-LCHlch(25.00, 62.38, 316.05°)
OKLaboklab(37.36% 0.0997 -0.1228)
OKLCHoklch(37.36% 0.158 309.1)
XYZxyz(8.2769, 4.4142, 20.1506)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591B7E #407E1B
analogous
#281B7E #591B7E #7E1B71
triadic
#591B7E #7E591B #1B7E59
tetradic
#591B7E #7E281B #407E1B #1B717E
square
#591B7E #7E281B #407E1B #1B717E
split-complementary
#591B7E #717E1B #1B7E28
monochromatic
#120519 #35104C #591B7E #7D26B0 #9D3ED6

Accessibility & contrast

On white

11.15
#591B7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#591B7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591B7E
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591B7E#FFFFFF#000000##FFFFFF
##591B7E1.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #591b7e;
/* rgb */ color: rgb(89, 27, 126);
/* oklch */ color: oklch(37.4% 0.158 309.1);
Tailwind
colors: {
  custom: {
    50: '#8c5fa4',
    500: '#591b7e',
    950: '#000000',
  },
}
SCSS
$custom: #591b7e;
$custom-light: #8c5fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#591b7e",
  "rgb": {
    "r": 89,
    "g": 27,
    "b": 126
  },
  "hsl": {
    "h": 277.576,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.37361,
    "c": 0.15823,
    "h": 309.1
  },
  "luminance": 0.04414
}

Semantic roles & 50–950 ramp

primary
#591B7E
secondary
#6CB243
accent
#E8407F
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #591B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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