#591A87#591A87

#591A87 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.0% C 0.168 H 305.8°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#591A87
RGBrgb(89, 26, 135)
HSLhsl(275, 68%, 32%)
HSVhsv(275, 81%, 53%)
CMYKcmyk(34.1%, 80.7%, 0%, 47.1%)
CIE-LABlab(25.60, 47.41, -47.97)
CIE-LCHlch(25.60, 67.45, 314.66°)
OKLaboklab(38.02% 0.0985 -0.1366)
OKLCHoklch(38.02% 0.168 305.8)
XYZxyz(8.8614, 4.6120, 23.3403)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591A87 #48871A
analogous
#231A87 #591A87 #871A7F
triadic
#591A87 #87591A #1A8759
tetradic
#591A87 #87231A #48871A #1A7F87
square
#591A87 #87231A #48871A #1A7F87
split-complementary
#591A87 #7F871A #1A8723
monochromatic
#150620 #371054 #591A87 #7B24BA #9A41DA

Accessibility & contrast

On white

10.92
#591A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#591A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591A87
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591A87#FFFFFF#000000##FFFFFF
##591A871.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #591a87;
/* rgb */ color: rgb(89, 26, 135);
/* oklch */ color: oklch(38.0% 0.168 305.8);
Tailwind
colors: {
  custom: {
    50: '#8d5fab',
    500: '#591a87',
    950: '#000000',
  },
}
SCSS
$custom: #591a87;
$custom-light: #8d5fab;
$custom-dark: #000000;
JSON
{
  "hex": "#591a87",
  "rgb": {
    "r": 89,
    "g": 26,
    "b": 135
  },
  "hsl": {
    "h": 274.679,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.38016,
    "c": 0.16839,
    "h": 305.8
  },
  "luminance": 0.04612
}

Semantic roles & 50–950 ramp

primary
#591A87
secondary
#75BA42
accent
#EB3D86
background
#F9F5FA
surface
#F1EAF4
border
#CBC6CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #591A87

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

Preview Lab → · Contrast checker → · Palette generator →

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