#591986#591986

#591986 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.8% C 0.168 H 306.3°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#591986
RGBrgb(89, 25, 134)
HSLhsl(275, 69%, 31%)
HSVhsv(275, 81%, 53%)
CMYKcmyk(33.6%, 81.3%, 0%, 47.5%)
CIE-LABlab(25.38, 47.56, -47.70)
CIE-LCHlch(25.38, 67.36, 314.92°)
OKLaboklab(37.84% 0.0996 -0.1358)
OKLCHoklch(37.84% 0.168 306.3)
XYZxyz(8.7696, 4.5404, 22.9640)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591986 #468619
analogous
#221986 #591986 #86197C
triadic
#591986 #865919 #198659
tetradic
#591986 #862219 #468619 #197C86
square
#591986 #862219 #468619 #197C86
split-complementary
#591986 #7C8619 #198622
monochromatic
#14061F #370F52 #591986 #7B23BA #9A3EDB

Accessibility & contrast

On white

11.01
#591986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#591986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591986
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591986#FFFFFF#000000##FFFFFF
##5919861.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #591986;
/* rgb */ color: rgb(89, 25, 134);
/* oklch */ color: oklch(37.8% 0.168 306.3);
Tailwind
colors: {
  custom: {
    50: '#8d5eaa',
    500: '#591986',
    950: '#000000',
  },
}
SCSS
$custom: #591986;
$custom-light: #8d5eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#591986",
  "rgb": {
    "r": 89,
    "g": 25,
    "b": 134
  },
  "hsl": {
    "h": 275.229,
    "s": 68.553,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37839,
    "c": 0.16839,
    "h": 306.3
  },
  "luminance": 0.0454
}

Semantic roles & 50–950 ramp

primary
#591986
secondary
#73BA41
accent
#EB3C85
background
#F9F5FA
surface
#F1EAF4
border
#CBC6CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #591986

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

Preview Lab → · Contrast checker → · Palette generator →

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