#591B87#591B87

#591B87 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.1% C 0.167 H 305.7°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#591B87
RGBrgb(89, 27, 135)
HSLhsl(274, 67%, 32%)
HSVhsv(274, 80%, 53%)
CMYKcmyk(34.1%, 80%, 0%, 47.1%)
CIE-LABlab(25.73, 47.02, -47.75)
CIE-LCHlch(25.73, 67.02, 314.56°)
OKLaboklab(38.11% 0.0976 -0.136)
OKLCHoklch(38.11% 0.167 305.7)
XYZxyz(8.8840, 4.6571, 23.3479)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591B87 #49871B
analogous
#231B87 #591B87 #871B7F
triadic
#591B87 #87591B #1B8759
tetradic
#591B87 #87231B #49871B #1B7F87
square
#591B87 #87231B #49871B #1B7F87
split-complementary
#591B87 #7F871B #1B8723
monochromatic
#160721 #371154 #591B87 #7B25BA #9943D9

Accessibility & contrast

On white

10.87
#591B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#591B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591B87
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591B87#FFFFFF#000000##FFFFFF
##591B871.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8A
Deuteranopia (green-blind)
#003D85
Tritanopia (blue-blind)
#513751
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #591b87;
/* rgb */ color: rgb(89, 27, 135);
/* oklch */ color: oklch(38.1% 0.167 305.7);
Tailwind
colors: {
  custom: {
    50: '#8d5fab',
    500: '#591b87',
    950: '#000000',
  },
}
SCSS
$custom: #591b87;
$custom-light: #8d5fab;
$custom-dark: #000000;
JSON
{
  "hex": "#591b87",
  "rgb": {
    "r": 89,
    "g": 27,
    "b": 135
  },
  "hsl": {
    "h": 274.444,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.38111,
    "c": 0.16737,
    "h": 305.7
  },
  "luminance": 0.04657
}

Semantic roles & 50–950 ramp

primary
#591B87
secondary
#76BA44
accent
#EA3E87
background
#F9F5FA
surface
#F1EAF4
border
#CBC6CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #591B87

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

Preview Lab → · Contrast checker → · Palette generator →

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