#591B7B#591B7B

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

Color values

HEX#591B7B
RGBrgb(89, 27, 123)
HSLhsl(279, 64%, 29%)
HSVhsv(279, 78%, 48%)
CMYKcmyk(27.6%, 78%, 0%, 51.8%)
CIE-LABlab(24.76, 44.22, -41.77)
CIE-LCHlch(24.76, 60.83, 316.63°)
OKLaboklab(37.12% 0.1003 -0.1184)
OKLCHoklch(37.12% 0.155 310.3)
XYZxyz(8.0862, 4.3380, 19.1464)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591B7B #3D7B1B
analogous
#291B7B #591B7B #7B1B6D
triadic
#591B7B #7B591B #1B7B59
tetradic
#591B7B #7B291B #3D7B1B #1B6D7B
square
#591B7B #7B291B #3D7B1B #1B6D7B
split-complementary
#591B7B #6D7B1B #1B7B29
monochromatic
#120619 #351049 #591B7B #7D26AD #9E3CD4

Accessibility & contrast

On white

11.24
#591B7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #591B7B
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591B7B#FFFFFF#000000##FFFFFF
##591B7B1.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387E
Deuteranopia (green-blind)
#033C79
Tritanopia (blue-blind)
#54324A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #591b7b;
/* rgb */ color: rgb(89, 27, 123);
/* oklch */ color: oklch(37.1% 0.155 310.3);
Tailwind
colors: {
  custom: {
    50: '#8c5fa2',
    500: '#591b7b',
    950: '#000000',
  },
}
SCSS
$custom: #591b7b;
$custom-light: #8c5fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#591b7b",
  "rgb": {
    "r": 89,
    "g": 27,
    "b": 123
  },
  "hsl": {
    "h": 278.75,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.37119,
    "c": 0.1552,
    "h": 310.3
  },
  "luminance": 0.04338
}

Semantic roles & 50–950 ramp

primary
#591B7B
secondary
#69AF43
accent
#E7417C
background
#F8F5FA
surface
#F0EAF3
border
#CBC6CD
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #591B7B

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

Preview Lab → · Contrast checker → · Palette generator →

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