#591582#591582

#591582 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.2% C 0.168 H 308.1°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#591582
RGBrgb(89, 21, 130)
HSLhsl(277, 72%, 30%)
HSVhsv(277, 84%, 51%)
CMYKcmyk(31.5%, 83.8%, 0%, 49%)
CIE-LABlab(24.55, 48.07, -46.54)
CIE-LCHlch(24.55, 66.91, 315.93°)
OKLaboklab(37.15% 0.1039 -0.1324)
OKLCHoklch(37.15% 0.168 308.1)
XYZxyz(8.4164, 4.2720, 21.4960)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591582 #3E8215
analogous
#231582 #591582 #821575
triadic
#591582 #825915 #158259
tetradic
#591582 #822315 #3E8215 #157582
square
#591582 #822315 #3E8215 #157582
split-complementary
#591582 #758215 #158223
monochromatic
#12041A #350C4D #591582 #7D1EB7 #9E33DE

Accessibility & contrast

On white

11.32
#591582 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#591582 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591582
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591582#FFFFFF#000000##FFFFFF
##5915821.0011.321.8511.32
#FFFFFF11.321.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003885
Deuteranopia (green-blind)
#003B80
Tritanopia (blue-blind)
#52324D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #591582;
/* rgb */ color: rgb(89, 21, 130);
/* oklch */ color: oklch(37.2% 0.168 308.1);
Tailwind
colors: {
  custom: {
    50: '#8d5ca7',
    500: '#591582',
    950: '#000000',
  },
}
SCSS
$custom: #591582;
$custom-light: #8d5ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#591582",
  "rgb": {
    "r": 89,
    "g": 21,
    "b": 130
  },
  "hsl": {
    "h": 277.431,
    "s": 72.185,
    "l": 29.608
  },
  "oklch": {
    "l": 0.37153,
    "c": 0.16827,
    "h": 308.1
  },
  "luminance": 0.04272
}

Semantic roles & 50–950 ramp

primary
#591582
secondary
#6AB73C
accent
#EF397D
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #591582

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

Preview Lab → · Contrast checker → · Palette generator →

#591582 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva