#591D88#591D88

#591D88 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.4% C 0.166 H 305.1°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#591D88
RGBrgb(89, 29, 136)
HSLhsl(274, 65%, 32%)
HSVhsv(274, 79%, 53%)
CMYKcmyk(34.6%, 78.7%, 0%, 46.7%)
CIE-LABlab(26.10, 46.45, -47.78)
CIE-LCHlch(26.10, 66.64, 314.19°)
OKLaboklab(38.39% 0.0956 -0.1361)
OKLCHoklch(38.39% 0.166 305.1)
XYZxyz(9.0021, 4.7802, 23.7362)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591D88 #4C881D
analogous
#241D88 #591D88 #881D81
triadic
#591D88 #88591D #1D8859
tetradic
#591D88 #88241D #4C881D #1D8188
square
#591D88 #88241D #4C881D #1D8188
split-complementary
#591D88 #81881D #1D8824
monochromatic
#170723 #381256 #591D88 #7A28BA #9848D8

Accessibility & contrast

On white

10.74
#591D88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#591D88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591D88
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591D88#FFFFFF#000000##FFFFFF
##591D881.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8B
Deuteranopia (green-blind)
#003E86
Tritanopia (blue-blind)
#503852
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #591d88;
/* rgb */ color: rgb(89, 29, 136);
/* oklch */ color: oklch(38.4% 0.166 305.1);
Tailwind
colors: {
  custom: {
    50: '#8d60ab',
    500: '#591d88',
    950: '#000000',
  },
}
SCSS
$custom: #591d88;
$custom-light: #8d60ab;
$custom-dark: #000000;
JSON
{
  "hex": "#591d88",
  "rgb": {
    "r": 89,
    "g": 29,
    "b": 136
  },
  "hsl": {
    "h": 273.645,
    "s": 64.848,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38392,
    "c": 0.16627,
    "h": 305.1
  },
  "luminance": 0.0478
}

Semantic roles & 50–950 ramp

primary
#591D88
secondary
#79BA47
accent
#E8408A
background
#F9F5FA
surface
#F1EAF4
border
#CBC6CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #591D88

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

Preview Lab → · Contrast checker → · Palette generator →

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