#591881#591881

#591881 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.164 H 308.2°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#591881
RGBrgb(89, 24, 129)
HSLhsl(277, 69%, 30%)
HSVhsv(277, 81%, 51%)
CMYKcmyk(31%, 81.4%, 0%, 49.4%)
CIE-LABlab(24.83, 46.78, -45.45)
CIE-LCHlch(24.83, 65.22, 315.82°)
OKLaboklab(37.32% 0.1017 -0.1292)
OKLCHoklch(37.32% 0.164 308.2)
XYZxyz(8.4081, 4.3622, 21.1637)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591881 #408118
analogous
#251881 #591881 #811874
triadic
#591881 #815918 #188159
tetradic
#591881 #812518 #408118 #187481
square
#591881 #812518 #408118 #187481
split-complementary
#591881 #748118 #188125
monochromatic
#12051A #350E4D #591881 #7D22B5 #9D39DA

Accessibility & contrast

On white

11.22
#591881 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#591881 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591881
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591881#FFFFFF#000000##FFFFFF
##5918811.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003984
Deuteranopia (green-blind)
#003C7F
Tritanopia (blue-blind)
#53334D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #591881;
/* rgb */ color: rgb(89, 24, 129);
/* oklch */ color: oklch(37.3% 0.164 308.2);
Tailwind
colors: {
  custom: {
    50: '#8c5ea6',
    500: '#591881',
    950: '#000000',
  },
}
SCSS
$custom: #591881;
$custom-light: #8c5ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#591881",
  "rgb": {
    "r": 89,
    "g": 24,
    "b": 129
  },
  "hsl": {
    "h": 277.143,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.37324,
    "c": 0.16442,
    "h": 308.2
  },
  "luminance": 0.04362
}

Semantic roles & 50–950 ramp

primary
#591881
secondary
#6CB540
accent
#EB3C7F
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D050F
muted
#7E797F

Preview Lab

Preview with #591881

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

Preview Lab → · Contrast checker → · Palette generator →

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