#591157#591157

#591157 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.6% C 0.133 H 329.3°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#591157
RGBrgb(89, 17, 87)
HSLhsl(302, 68%, 21%)
HSVhsv(302, 81%, 35%)
CMYKcmyk(0%, 80.9%, 2.2%, 65.1%)
CIE-LABlab(20.88, 40.57, -24.55)
CIE-LCHlch(20.88, 47.42, 328.82°)
OKLaboklab(33.55% 0.1143 -0.0679)
OKLCHoklch(33.55% 0.133 329.3)
XYZxyz(6.0405, 3.2133, 9.3171)
Luminance0.0321 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591157 #115913
analogous
#371159 #591157 #591133
triadic
#591157 #575911 #115759
tetradic
#591157 #593711 #115913 #113359
square
#591157 #593711 #115913 #113359
split-complementary
#591157 #335911 #115937
monochromatic
#1A0519 #260725 #591157 #8C1B89 #C025BB

Accessibility & contrast

On white

12.78
#591157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#591157 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591157
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591157#FFFFFF#000000##FFFFFF
##5911571.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052C59
Deuteranopia (green-blind)
#263655
Tritanopia (blue-blind)
#5C1C33
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #591157;
/* rgb */ color: rgb(89, 17, 87);
/* oklch */ color: oklch(33.6% 0.133 329.3);
Tailwind
colors: {
  custom: {
    50: '#8b5887',
    500: '#591157',
    950: '#000000',
  },
}
SCSS
$custom: #591157;
$custom-light: #8b5887;
$custom-dark: #000000;
JSON
{
  "hex": "#591157",
  "rgb": {
    "r": 89,
    "g": 17,
    "b": 87
  },
  "hsl": {
    "h": 301.667,
    "s": 67.925,
    "l": 20.784
  },
  "oklch": {
    "l": 0.33552,
    "c": 0.13293,
    "h": 329.3
  },
  "luminance": 0.03213
}

Semantic roles & 50–950 ramp

primary
#591157
secondary
#349236
accent
#EB423D
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #591157

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

Preview Lab → · Contrast checker → · Palette generator →

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