#591B88#591B88

#591B88 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.2% C 0.168 H 305.3°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#591B88
RGBrgb(89, 27, 136)
HSLhsl(274, 67%, 32%)
HSVhsv(274, 80%, 53%)
CMYKcmyk(34.6%, 80.1%, 0%, 46.7%)
CIE-LABlab(25.82, 47.26, -48.24)
CIE-LCHlch(25.82, 67.53, 314.41°)
OKLaboklab(38.2% 0.0973 -0.1374)
OKLCHoklch(38.2% 0.168 305.3)
XYZxyz(8.9547, 4.6853, 23.7204)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591B88 #4A881B
analogous
#221B88 #591B88 #881B81
triadic
#591B88 #88591B #1B8859
tetradic
#591B88 #88221B #4A881B #1B8188
square
#591B88 #88221B #4A881B #1B8188
split-complementary
#591B88 #81881B #1B8822
monochromatic
#160722 #381155 #591B88 #7A25BB #9944DA

Accessibility & contrast

On white

10.84
#591B88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#591B88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591B88
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591B88#FFFFFF#000000##FFFFFF
##591B881.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8B
Deuteranopia (green-blind)
#003D86
Tritanopia (blue-blind)
#503751
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #591b88;
/* rgb */ color: rgb(89, 27, 136);
/* oklch */ color: oklch(38.2% 0.168 305.3);
Tailwind
colors: {
  custom: {
    50: '#8d5fac',
    500: '#591b88',
    950: '#000000',
  },
}
SCSS
$custom: #591b88;
$custom-light: #8d5fac;
$custom-dark: #000000;
JSON
{
  "hex": "#591b88",
  "rgb": {
    "r": 89,
    "g": 27,
    "b": 136
  },
  "hsl": {
    "h": 274.128,
    "s": 66.871,
    "l": 31.961
  },
  "oklch": {
    "l": 0.38196,
    "c": 0.16839,
    "h": 305.3
  },
  "luminance": 0.04685
}

Semantic roles & 50–950 ramp

primary
#591B88
secondary
#77BB44
accent
#EA3E88
background
#F9F5FA
surface
#F1EAF4
border
#CBC6CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #591B88

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

Preview Lab → · Contrast checker → · Palette generator →

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