#591B74#591B74

#591B74 is a dark, vivid purple. Relative luminance 0.042; OKLCH L 36.6% C 0.148 H 313.3°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#591B74
RGBrgb(89, 27, 116)
HSLhsl(282, 62%, 28%)
HSVhsv(282, 77%, 45%)
CMYKcmyk(23.3%, 76.7%, 0%, 54.5%)
CIE-LABlab(24.22, 42.64, -38.18)
CIE-LCHlch(24.22, 57.23, 318.16°)
OKLaboklab(36.57% 0.1016 -0.1078)
OKLCHoklch(36.57% 0.148 313.3)
XYZxyz(7.6636, 4.1689, 16.9206)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591B74 #36741B
analogous
#2C1B74 #591B74 #741B62
triadic
#591B74 #74591B #1B7459
tetradic
#591B74 #742C1B #36741B #1B6274
square
#591B74 #742C1B #36741B #1B6274
split-complementary
#591B74 #62741B #1B742C
monochromatic
#130619 #330F42 #591B74 #7F27A6 #A339D1

Accessibility & contrast

On white

11.45
#591B74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#591B74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591B74
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591B74#FFFFFF#000000##FFFFFF
##591B741.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003676
Deuteranopia (green-blind)
#133B72
Tritanopia (blue-blind)
#562F46
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #591b74;
/* rgb */ color: rgb(89, 27, 116);
/* oklch */ color: oklch(36.6% 0.148 313.3);
Tailwind
colors: {
  custom: {
    50: '#8b5e9d',
    500: '#591b74',
    950: '#000000',
  },
}
SCSS
$custom: #591b74;
$custom-light: #8b5e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#591b74",
  "rgb": {
    "r": 89,
    "g": 27,
    "b": 116
  },
  "hsl": {
    "h": 281.798,
    "s": 62.238,
    "l": 28.039
  },
  "oklch": {
    "l": 0.3657,
    "c": 0.14813,
    "h": 313.3
  },
  "luminance": 0.04169
}

Semantic roles & 50–950 ramp

primary
#591B74
secondary
#61A942
accent
#E54274
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #591B74

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

Preview Lab → · Contrast checker → · Palette generator →

#591B74 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva