#591173#591173

#591173 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.6% C 0.158 H 314.6°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#591173
RGBrgb(89, 17, 115)
HSLhsl(284, 74%, 26%)
HSVhsv(284, 85%, 45%)
CMYKcmyk(22.6%, 85.2%, 0%, 54.9%)
CIE-LABlab(22.87, 46.09, -39.72)
CIE-LCHlch(22.87, 60.84, 319.25°)
OKLaboklab(35.59% 0.1109 -0.1123)
OKLCHoklch(35.59% 0.158 314.6)
XYZxyz(7.4143, 3.7628, 16.5521)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591173 #2B7311
analogous
#281173 #591173 #73115C
triadic
#591173 #735911 #117359
tetradic
#591173 #732811 #2B7311 #115C73
square
#591173 #732811 #2B7311 #115C73
split-complementary
#591173 #5C7311 #117328
monochromatic
#15041B #30093E #591173 #8219A8 #AC21DE

Accessibility & contrast

On white

11.98
#591173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#591173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591173
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591173#FFFFFF#000000##FFFFFF
##5911731.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003376
Deuteranopia (green-blind)
#083871
Tritanopia (blue-blind)
#572A43
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #591173;
/* rgb */ color: rgb(89, 17, 115);
/* oklch */ color: oklch(35.6% 0.158 314.6);
Tailwind
colors: {
  custom: {
    50: '#8c5a9c',
    500: '#591173',
    950: '#000000',
  },
}
SCSS
$custom: #591173;
$custom-light: #8c5a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#591173",
  "rgb": {
    "r": 89,
    "g": 17,
    "b": 115
  },
  "hsl": {
    "h": 284.082,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.35594,
    "c": 0.15779,
    "h": 314.6
  },
  "luminance": 0.03763
}

Semantic roles & 50–950 ramp

primary
#591173
secondary
#55AA36
accent
#F13768
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #591173

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

Preview Lab → · Contrast checker → · Palette generator →

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