#591796#591796

#591796 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 39.1% C 0.186 H 301.1°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#591796
RGBrgb(89, 23, 150)
HSLhsl(271, 73%, 34%)
HSVhsv(271, 85%, 59%)
CMYKcmyk(40.7%, 84.7%, 0%, 41.2%)
CIE-LABlab(26.56, 52.05, -55.71)
CIE-LCHlch(26.56, 76.24, 313.05°)
OKLaboklab(39.09% 0.0961 -0.1593)
OKLCHoklch(39.09% 0.186 301.1)
XYZxyz(9.9299, 4.9386, 29.2783)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591796 #549617
analogous
#1A1796 #591796 #961794
triadic
#591796 #965917 #179659
tetradic
#591796 #961A17 #549617 #179496
square
#591796 #961A17 #549617 #179496
split-complementary
#591796 #949617 #17961A
monochromatic
#1A072C #3A0F61 #591796 #781FCB #9745E2

Accessibility & contrast

On white

10.56
#591796 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#591796 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591796
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591796#FFFFFF#000000##FFFFFF
##5917961.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E99
Deuteranopia (green-blind)
#003E94
Tritanopia (blue-blind)
#4B3C59
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #591796;
/* rgb */ color: rgb(89, 23, 150);
/* oklch */ color: oklch(39.1% 0.186 301.1);
Tailwind
colors: {
  custom: {
    50: '#8f5eb6',
    500: '#591796',
    950: '#000000',
  },
}
SCSS
$custom: #591796;
$custom-light: #8f5eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#591796",
  "rgb": {
    "r": 89,
    "g": 23,
    "b": 150
  },
  "hsl": {
    "h": 271.181,
    "s": 73.41,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39093,
    "c": 0.18607,
    "h": 301.1
  },
  "luminance": 0.04939
}

Semantic roles & 50–950 ramp

primary
#591796
secondary
#82C345
accent
#F03890
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #591796

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

Preview Lab → · Contrast checker → · Palette generator →

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