#591168#591168

#591168 is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.7% C 0.148 H 319.8°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#591168
RGBrgb(89, 17, 104)
HSLhsl(290, 72%, 24%)
HSVhsv(290, 84%, 41%)
CMYKcmyk(14.4%, 83.7%, 0%, 59.2%)
CIE-LABlab(22.03, 43.82, -33.95)
CIE-LCHlch(22.03, 55.43, 322.24°)
OKLaboklab(34.74% 0.1129 -0.0953)
OKLCHoklch(34.74% 0.148 319.8)
XYZxyz(6.8186, 3.5246, 13.4152)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591168 #206811
analogous
#2D1168 #591168 #68114B
triadic
#591168 #685911 #116859
tetradic
#591168 #682D11 #206811 #114B68
square
#591168 #682D11 #206811 #114B68
split-complementary
#591168 #4B6811 #11682D
monochromatic
#17041A #2C0833 #591168 #861A9D #B322D1

Accessibility & contrast

On white

12.32
#591168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#591168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591168
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591168#FFFFFF#000000##FFFFFF
##5911681.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306A
Deuteranopia (green-blind)
#193766
Tritanopia (blue-blind)
#59243D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #591168;
/* rgb */ color: rgb(89, 17, 104);
/* oklch */ color: oklch(34.7% 0.148 319.8);
Tailwind
colors: {
  custom: {
    50: '#8b5994',
    500: '#591168',
    950: '#000000',
  },
}
SCSS
$custom: #591168;
$custom-light: #8b5994;
$custom-dark: #000000;
JSON
{
  "hex": "#591168",
  "rgb": {
    "r": 89,
    "g": 17,
    "b": 104
  },
  "hsl": {
    "h": 289.655,
    "s": 71.901,
    "l": 23.725
  },
  "oklch": {
    "l": 0.34741,
    "c": 0.14779,
    "h": 319.8
  },
  "luminance": 0.03524
}

Semantic roles & 50–950 ramp

primary
#591168
secondary
#47A035
accent
#EF3958
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #591168

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

Preview Lab → · Contrast checker → · Palette generator →

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