#591B82#591B82

#591B82 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.7% C 0.162 H 307.5°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#591B82
RGBrgb(89, 27, 130)
HSLhsl(276, 66%, 31%)
HSVhsv(276, 79%, 51%)
CMYKcmyk(31.5%, 79.2%, 0%, 49%)
CIE-LABlab(25.32, 45.85, -45.29)
CIE-LCHlch(25.32, 64.44, 315.35°)
OKLaboklab(37.69% 0.0988 -0.1287)
OKLCHoklch(37.69% 0.162 307.5)
XYZxyz(8.5402, 4.5195, 21.5372)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591B82 #44821B
analogous
#261B82 #591B82 #821B77
triadic
#591B82 #82591B #1B8259
tetradic
#591B82 #82261B #44821B #1B7782
square
#591B82 #82261B #44821B #1B7782
split-complementary
#591B82 #77821B #1B8226
monochromatic
#14061D #36104F #591B82 #7C26B5 #9B40D7

Accessibility & contrast

On white

11.03
#591B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#591B82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591B82
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591B82#FFFFFF#000000##FFFFFF
##591B821.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A85
Deuteranopia (green-blind)
#003D80
Tritanopia (blue-blind)
#52354E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #591b82;
/* rgb */ color: rgb(89, 27, 130);
/* oklch */ color: oklch(37.7% 0.162 307.5);
Tailwind
colors: {
  custom: {
    50: '#8c5fa7',
    500: '#591b82',
    950: '#000000',
  },
}
SCSS
$custom: #591b82;
$custom-light: #8c5fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#591b82",
  "rgb": {
    "r": 89,
    "g": 27,
    "b": 130
  },
  "hsl": {
    "h": 276.117,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.3769,
    "c": 0.16229,
    "h": 307.5
  },
  "luminance": 0.04519
}

Semantic roles & 50–950 ramp

primary
#591B82
secondary
#71B643
accent
#E93F83
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0D050F
muted
#7D797F

Preview Lab

Preview with #591B82

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

Preview Lab → · Contrast checker → · Palette generator →

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