#591A8D#591A8D

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

Color values

HEX#591A8D
RGBrgb(89, 26, 141)
HSLhsl(273, 69%, 33%)
HSVhsv(273, 82%, 55%)
CMYKcmyk(36.9%, 81.6%, 0%, 44.7%)
CIE-LABlab(26.12, 48.84, -50.87)
CIE-LCHlch(26.12, 70.52, 313.83°)
OKLaboklab(38.54% 0.0968 -0.1451)
OKLCHoklch(38.54% 0.174 303.7)
XYZxyz(9.2958, 4.7857, 25.6281)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591A8D #4E8D1A
analogous
#201A8D #591A8D #8D1A87
triadic
#591A8D #8D591A #1A8D59
tetradic
#591A8D #8D201A #4E8D1A #1A878D
square
#591A8D #8D201A #4E8D1A #1A878D
split-complementary
#591A8D #878D1A #1A8D20
monochromatic
#180726 #381059 #591A8D #7A24C1 #9845DD

Accessibility & contrast

On white

10.73
#591A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#591A8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591A8D
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591A8D#FFFFFF#000000##FFFFFF
##591A8D1.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D90
Deuteranopia (green-blind)
#003E8B
Tritanopia (blue-blind)
#4E3954
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #591a8d;
/* rgb */ color: rgb(89, 26, 141);
/* oklch */ color: oklch(38.5% 0.174 303.7);
Tailwind
colors: {
  custom: {
    50: '#8d5faf',
    500: '#591a8d',
    950: '#000000',
  },
}
SCSS
$custom: #591a8d;
$custom-light: #8d5faf;
$custom-dark: #000000;
JSON
{
  "hex": "#591a8d",
  "rgb": {
    "r": 89,
    "g": 26,
    "b": 141
  },
  "hsl": {
    "h": 272.87,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.38536,
    "c": 0.17444,
    "h": 303.7
  },
  "luminance": 0.04786
}

Semantic roles & 50–950 ramp

primary
#591A8D
secondary
#7CBE45
accent
#EC3C8C
background
#F9F5FA
surface
#F1EAF5
border
#CBC6CF
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #591A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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