#591D8B#591D8B

#591D8B is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.6% C 0.169 H 304.0°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#591D8B
RGBrgb(89, 29, 139)
HSLhsl(273, 65%, 33%)
HSVhsv(273, 79%, 55%)
CMYKcmyk(36%, 79.1%, 0%, 45.5%)
CIE-LABlab(26.35, 47.17, -49.24)
CIE-LCHlch(26.35, 68.19, 313.77°)
OKLaboklab(38.65% 0.0948 -0.1404)
OKLCHoklch(38.65% 0.169 304)
XYZxyz(9.2183, 4.8667, 24.8748)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591D8B #4F8B1D
analogous
#221D8B #591D8B #8B1D86
triadic
#591D8B #8B591D #1D8B59
tetradic
#591D8B #8B221D #4F8B1D #1D868B
square
#591D8B #8B221D #4F8B1D #1D868B
split-complementary
#591D8B #868B1D #1D8B22
monochromatic
#180826 #391258 #591D8B #7928BE #9849D9

Accessibility & contrast

On white

10.64
#591D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#591D8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591D8B
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591D8B#FFFFFF#000000##FFFFFF
##591D8B1.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8E
Deuteranopia (green-blind)
#003E89
Tritanopia (blue-blind)
#4F3A53
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #591d8b;
/* rgb */ color: rgb(89, 29, 139);
/* oklch */ color: oklch(38.6% 0.169 304.0);
Tailwind
colors: {
  custom: {
    50: '#8d60ae',
    500: '#591d8b',
    950: '#000000',
  },
}
SCSS
$custom: #591d8b;
$custom-light: #8d60ae;
$custom-dark: #000000;
JSON
{
  "hex": "#591d8b",
  "rgb": {
    "r": 89,
    "g": 29,
    "b": 139
  },
  "hsl": {
    "h": 272.727,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.38648,
    "c": 0.16938,
    "h": 304
  },
  "luminance": 0.04867
}

Semantic roles & 50–950 ramp

primary
#591D8B
secondary
#7DBB49
accent
#E83F8C
background
#F9F5FA
surface
#F1EAF4
border
#CBC6CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #591D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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