#591B89#591B89

#591B89 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.3% C 0.169 H 305.0°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#591B89
RGBrgb(89, 27, 137)
HSLhsl(274, 67%, 32%)
HSVhsv(274, 80%, 54%)
CMYKcmyk(35%, 80.3%, 0%, 46.3%)
CIE-LABlab(25.90, 47.50, -48.73)
CIE-LCHlch(25.90, 68.05, 314.27°)
OKLaboklab(38.28% 0.0971 -0.1388)
OKLCHoklch(38.28% 0.169 305)
XYZxyz(9.0261, 4.7139, 24.0964)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591B89 #4B891B
analogous
#221B89 #591B89 #891B82
triadic
#591B89 #89591B #1B8959
tetradic
#591B89 #89221B #4B891B #1B8289
square
#591B89 #89221B #4B891B #1B8289
split-complementary
#591B89 #82891B #1B8922
monochromatic
#170723 #381156 #591B89 #7A25BC #9944DA

Accessibility & contrast

On white

10.81
#591B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #591B89
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591B89#FFFFFF#000000##FFFFFF
##591B891.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8C
Deuteranopia (green-blind)
#003D87
Tritanopia (blue-blind)
#503852
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #591b89;
/* rgb */ color: rgb(89, 27, 137);
/* oklch */ color: oklch(38.3% 0.169 305.0);
Tailwind
colors: {
  custom: {
    50: '#8d5fac',
    500: '#591b89',
    950: '#000000',
  },
}
SCSS
$custom: #591b89;
$custom-light: #8d5fac;
$custom-dark: #000000;
JSON
{
  "hex": "#591b89",
  "rgb": {
    "r": 89,
    "g": 27,
    "b": 137
  },
  "hsl": {
    "h": 273.818,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.38282,
    "c": 0.1694,
    "h": 305
  },
  "luminance": 0.04714
}

Semantic roles & 50–950 ramp

primary
#591B89
secondary
#78BC44
accent
#EA3E89
background
#F9F5FA
surface
#F1EAF4
border
#CBC6CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #591B89

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

Preview Lab → · Contrast checker → · Palette generator →

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