#591784#591784

#591784 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.5% C 0.168 H 307.2°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#591784
RGBrgb(89, 23, 132)
HSLhsl(276, 70%, 30%)
HSVhsv(276, 83%, 52%)
CMYKcmyk(32.6%, 82.6%, 0%, 48.2%)
CIE-LABlab(24.96, 47.83, -47.13)
CIE-LCHlch(24.96, 67.15, 315.42°)
OKLaboklab(37.49% 0.1018 -0.1341)
OKLCHoklch(37.49% 0.168 307.2)
XYZxyz(8.5902, 4.4027, 22.2226)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591784 #428417
analogous
#221784 #591784 #841779
triadic
#591784 #845917 #178459
tetradic
#591784 #842217 #428417 #177984
square
#591784 #842217 #428417 #177984
split-complementary
#591784 #798417 #178422
monochromatic
#13051C #360E50 #591784 #7C20B8 #9C39DC

Accessibility & contrast

On white

11.17
#591784 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#591784 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591784
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591784#FFFFFF#000000##FFFFFF
##5917841.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003987
Deuteranopia (green-blind)
#003C82
Tritanopia (blue-blind)
#52344E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #591784;
/* rgb */ color: rgb(89, 23, 132);
/* oklch */ color: oklch(37.5% 0.168 307.2);
Tailwind
colors: {
  custom: {
    50: '#8d5da9',
    500: '#591784',
    950: '#000000',
  },
}
SCSS
$custom: #591784;
$custom-light: #8d5da9;
$custom-dark: #000000;
JSON
{
  "hex": "#591784",
  "rgb": {
    "r": 89,
    "g": 23,
    "b": 132
  },
  "hsl": {
    "h": 276.33,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.37491,
    "c": 0.16835,
    "h": 307.2
  },
  "luminance": 0.04403
}

Semantic roles & 50–950 ramp

primary
#591784
secondary
#6FB83F
accent
#ED3B81
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #591784

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

Preview Lab → · Contrast checker → · Palette generator →

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