#591786#591786

#591786 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.7% C 0.170 H 306.5°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#591786
RGBrgb(89, 23, 134)
HSLhsl(276, 71%, 31%)
HSVhsv(276, 83%, 53%)
CMYKcmyk(33.6%, 82.8%, 0%, 47.5%)
CIE-LABlab(25.13, 48.29, -48.11)
CIE-LCHlch(25.13, 68.17, 315.11°)
OKLaboklab(37.66% 0.1012 -0.137)
OKLCHoklch(37.66% 0.17 306.5)
XYZxyz(8.7283, 4.4580, 22.9503)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591786 #448617
analogous
#221786 #591786 #86177B
triadic
#591786 #865917 #178659
tetradic
#591786 #862217 #448617 #177B86
square
#591786 #862217 #448617 #177B86
split-complementary
#591786 #7B8617 #178622
monochromatic
#14051E #360E52 #591786 #7C20BA #9B3ADD

Accessibility & contrast

On white

11.10
#591786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#591786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591786
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591786#FFFFFF#000000##FFFFFF
##5917861.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A89
Deuteranopia (green-blind)
#003C84
Tritanopia (blue-blind)
#51354F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #591786;
/* rgb */ color: rgb(89, 23, 134);
/* oklch */ color: oklch(37.7% 0.170 306.5);
Tailwind
colors: {
  custom: {
    50: '#8d5daa',
    500: '#591786',
    950: '#000000',
  },
}
SCSS
$custom: #591786;
$custom-light: #8d5daa;
$custom-dark: #000000;
JSON
{
  "hex": "#591786",
  "rgb": {
    "r": 89,
    "g": 23,
    "b": 134
  },
  "hsl": {
    "h": 275.676,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37663,
    "c": 0.17031,
    "h": 306.5
  },
  "luminance": 0.04458
}

Semantic roles & 50–950 ramp

primary
#591786
secondary
#71BA3F
accent
#ED3A83
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #591786

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

Preview Lab → · Contrast checker → · Palette generator →

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