#591B8B#591B8B

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

Color values

HEX#591B8B
RGBrgb(89, 27, 139)
HSLhsl(273, 67%, 33%)
HSVhsv(273, 81%, 55%)
CMYKcmyk(36%, 80.6%, 0%, 45.5%)
CIE-LABlab(26.07, 47.97, -49.70)
CIE-LCHlch(26.07, 69.07, 313.99°)
OKLaboklab(38.45% 0.0965 -0.1417)
OKLCHoklch(38.45% 0.171 304.3)
XYZxyz(9.1709, 4.7718, 24.8590)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591B8B #4D8B1B
analogous
#211B8B #591B8B #8B1B85
triadic
#591B8B #8B591B #1B8B59
tetradic
#591B8B #8B211B #4D8B1B #1B858B
square
#591B8B #8B211B #4D8B1B #1B858B
split-complementary
#591B8B #858B1B #1B8B21
monochromatic
#170725 #381158 #591B8B #7A25BE #9845DB

Accessibility & contrast

On white

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

On black

1.95
#591B8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##591B8B#FFFFFF#000000##FFFFFF
##591B8B1.0010.741.9510.74
#FFFFFF10.741.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #591b8b;
/* rgb */ color: rgb(89, 27, 139);
/* oklch */ color: oklch(38.5% 0.171 304.3);
Tailwind
colors: {
  custom: {
    50: '#8d5fae',
    500: '#591b8b',
    950: '#000000',
  },
}
SCSS
$custom: #591b8b;
$custom-light: #8d5fae;
$custom-dark: #000000;
JSON
{
  "hex": "#591b8b",
  "rgb": {
    "r": 89,
    "g": 27,
    "b": 139
  },
  "hsl": {
    "h": 273.214,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.38454,
    "c": 0.17143,
    "h": 304.3
  },
  "luminance": 0.04772
}

Semantic roles & 50–950 ramp

primary
#591B8B
secondary
#7BBC45
accent
#EA3D8B
background
#F9F5FA
surface
#F1EAF4
border
#CBC6CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #591B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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