#591C82#591C82

#591C82 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.8% C 0.161 H 307.4°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#591C82
RGBrgb(89, 28, 130)
HSLhsl(276, 65%, 31%)
HSVhsv(276, 78%, 51%)
CMYKcmyk(31.5%, 78.5%, 0%, 49%)
CIE-LABlab(25.46, 45.44, -45.06)
CIE-LCHlch(25.46, 63.99, 315.24°)
OKLaboklab(37.79% 0.0979 -0.1281)
OKLCHoklch(37.79% 0.161 307.4)
XYZxyz(8.5635, 4.5662, 21.5450)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591C82 #45821C
analogous
#261C82 #591C82 #821C78
triadic
#591C82 #82591C #1C8259
tetradic
#591C82 #82261C #45821C #1C7882
square
#591C82 #82261C #45821C #1C7882
split-complementary
#591C82 #78821C #1C8226
monochromatic
#14061D #371150 #591C82 #7B27B4 #9B42D6

Accessibility & contrast

On white

10.98
#591C82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#591C82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591C82
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591C82#FFFFFF#000000##FFFFFF
##591C821.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.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: #591c82;
/* rgb */ color: rgb(89, 28, 130);
/* oklch */ color: oklch(37.8% 0.161 307.4);
Tailwind
colors: {
  custom: {
    50: '#8c5fa7',
    500: '#591c82',
    950: '#000000',
  },
}
SCSS
$custom: #591c82;
$custom-light: #8c5fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#591c82",
  "rgb": {
    "r": 89,
    "g": 28,
    "b": 130
  },
  "hsl": {
    "h": 275.882,
    "s": 64.557,
    "l": 30.98
  },
  "oklch": {
    "l": 0.3779,
    "c": 0.16119,
    "h": 307.4
  },
  "luminance": 0.04566
}

Semantic roles & 50–950 ramp

primary
#591C82
secondary
#72B544
accent
#E84083
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0D050F
muted
#7D797F

Preview Lab

Preview with #591C82

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

Preview Lab → · Contrast checker → · Palette generator →

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