#591158#591158

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

Color values

HEX#591158
RGBrgb(89, 17, 88)
HSLhsl(301, 68%, 21%)
HSVhsv(301, 81%, 35%)
CMYKcmyk(0%, 80.9%, 1.1%, 65.1%)
CIE-LABlab(20.94, 40.75, -25.12)
CIE-LCHlch(20.94, 47.87, 328.35°)
OKLaboklab(33.62% 0.1143 -0.0696)
OKLCHoklch(33.62% 0.134 328.7)
XYZxyz(6.0817, 3.2298, 9.5337)
Luminance0.0323 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591158 #115912
analogous
#361159 #591158 #591134
triadic
#591158 #585911 #115859
tetradic
#591158 #593611 #115912 #113459
square
#591158 #593611 #115912 #113459
split-complementary
#591158 #345911 #115936
monochromatic
#1A0519 #260725 #591158 #8C1B8B #C025BE

Accessibility & contrast

On white

12.76
#591158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#591158 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591158
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591158#FFFFFF#000000##FFFFFF
##5911581.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042C5A
Deuteranopia (green-blind)
#263656
Tritanopia (blue-blind)
#5C1C34
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #591158;
/* rgb */ color: rgb(89, 17, 88);
/* oklch */ color: oklch(33.6% 0.134 328.7);
Tailwind
colors: {
  custom: {
    50: '#8b5987',
    500: '#591158',
    950: '#000000',
  },
}
SCSS
$custom: #591158;
$custom-light: #8b5987;
$custom-dark: #000000;
JSON
{
  "hex": "#591158",
  "rgb": {
    "r": 89,
    "g": 17,
    "b": 88
  },
  "hsl": {
    "h": 300.833,
    "s": 67.925,
    "l": 20.784
  },
  "oklch": {
    "l": 0.33617,
    "c": 0.13378,
    "h": 328.7
  },
  "luminance": 0.03229
}

Semantic roles & 50–950 ramp

primary
#591158
secondary
#349235
accent
#EB3F3D
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #591158

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

Preview Lab → · Contrast checker → · Palette generator →

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