#591788#591788

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

Color values

HEX#591788
RGBrgb(89, 23, 136)
HSLhsl(275, 71%, 31%)
HSVhsv(275, 83%, 53%)
CMYKcmyk(34.6%, 83.1%, 0%, 46.7%)
CIE-LABlab(25.30, 48.75, -49.08)
CIE-LCHlch(25.30, 69.18, 314.81°)
OKLaboklab(37.84% 0.1006 -0.1398)
OKLCHoklch(37.84% 0.172 305.7)
XYZxyz(8.8692, 4.5143, 23.6919)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591788 #468817
analogous
#201788 #591788 #88177E
triadic
#591788 #885917 #178859
tetradic
#591788 #882017 #468817 #177E88
square
#591788 #882017 #468817 #177E88
split-complementary
#591788 #7E8817 #178820
monochromatic
#14051F #370E54 #591788 #7B20BC #9A3BDE

Accessibility & contrast

On white

11.04
#591788 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#591788 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591788
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591788#FFFFFF#000000##FFFFFF
##5917881.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8B
Deuteranopia (green-blind)
#003C86
Tritanopia (blue-blind)
#503650
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #591788;
/* rgb */ color: rgb(89, 23, 136);
/* oklch */ color: oklch(37.8% 0.172 305.7);
Tailwind
colors: {
  custom: {
    50: '#8d5eac',
    500: '#591788',
    950: '#000000',
  },
}
SCSS
$custom: #591788;
$custom-light: #8d5eac;
$custom-dark: #000000;
JSON
{
  "hex": "#591788",
  "rgb": {
    "r": 89,
    "g": 23,
    "b": 136
  },
  "hsl": {
    "h": 275.044,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37836,
    "c": 0.17228,
    "h": 305.7
  },
  "luminance": 0.04514
}

Semantic roles & 50–950 ramp

primary
#591788
secondary
#73BC3F
accent
#EE3A85
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #591788

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

Preview Lab → · Contrast checker → · Palette generator →

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