#591B8A#591B8A

#591B8A is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.4% C 0.170 H 304.6°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#591B8A
RGBrgb(89, 27, 138)
HSLhsl(274, 67%, 32%)
HSVhsv(274, 80%, 54%)
CMYKcmyk(35.5%, 80.4%, 0%, 45.9%)
CIE-LABlab(25.99, 47.74, -49.21)
CIE-LCHlch(25.99, 68.56, 314.13°)
OKLaboklab(38.37% 0.0968 -0.1403)
OKLCHoklch(38.37% 0.17 304.6)
XYZxyz(9.0982, 4.7427, 24.4760)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591B8A #4C8A1B
analogous
#221B8A #591B8A #8A1B83
triadic
#591B8A #8A591B #1B8A59
tetradic
#591B8A #8A221B #4C8A1B #1B838A
square
#591B8A #8A221B #4C8A1B #1B838A
split-complementary
#591B8A #838A1B #1B8A22
monochromatic
#170724 #381157 #591B8A #7A25BD #9845DB

Accessibility & contrast

On white

10.78
#591B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#591B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591B8A
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591B8A#FFFFFF#000000##FFFFFF
##591B8A1.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8D
Deuteranopia (green-blind)
#003D88
Tritanopia (blue-blind)
#4F3852
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #591b8a;
/* rgb */ color: rgb(89, 27, 138);
/* oklch */ color: oklch(38.4% 0.170 304.6);
Tailwind
colors: {
  custom: {
    50: '#8d5fad',
    500: '#591b8a',
    950: '#000000',
  },
}
SCSS
$custom: #591b8a;
$custom-light: #8d5fad;
$custom-dark: #000000;
JSON
{
  "hex": "#591b8a",
  "rgb": {
    "r": 89,
    "g": 27,
    "b": 138
  },
  "hsl": {
    "h": 273.514,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38368,
    "c": 0.17041,
    "h": 304.6
  },
  "luminance": 0.04743
}

Semantic roles & 50–950 ramp

primary
#591B8A
secondary
#79BC45
accent
#EA3E8A
background
#F9F5FA
surface
#F1EAF4
border
#CBC6CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #591B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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