#591581#591581

#591581 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 37.1% C 0.167 H 308.5°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#591581
RGBrgb(89, 21, 129)
HSLhsl(278, 72%, 29%)
HSVhsv(278, 84%, 51%)
CMYKcmyk(31%, 83.7%, 0%, 49.4%)
CIE-LABlab(24.47, 47.85, -46.05)
CIE-LCHlch(24.47, 66.40, 316.10°)
OKLaboklab(37.07% 0.1042 -0.1309)
OKLCHoklch(37.07% 0.167 308.5)
XYZxyz(8.3496, 4.2453, 21.1442)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591581 #3D8115
analogous
#231581 #591581 #811573
triadic
#591581 #815915 #158159
tetradic
#591581 #812315 #3D8115 #157381
square
#591581 #812315 #3D8115 #157381
split-complementary
#591581 #738115 #158123
monochromatic
#12041A #350C4C #591581 #7D1EB6 #9E33DE

Accessibility & contrast

On white

11.36
#591581 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#591581 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591581
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591581#FFFFFF#000000##FFFFFF
##5915811.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003884
Deuteranopia (green-blind)
#003B7F
Tritanopia (blue-blind)
#53324C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #591581;
/* rgb */ color: rgb(89, 21, 129);
/* oklch */ color: oklch(37.1% 0.167 308.5);
Tailwind
colors: {
  custom: {
    50: '#8d5ca6',
    500: '#591581',
    950: '#000000',
  },
}
SCSS
$custom: #591581;
$custom-light: #8d5ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#591581",
  "rgb": {
    "r": 89,
    "g": 21,
    "b": 129
  },
  "hsl": {
    "h": 277.778,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.37067,
    "c": 0.1673,
    "h": 308.5
  },
  "luminance": 0.04245
}

Semantic roles & 50–950 ramp

primary
#591581
secondary
#69B63C
accent
#EF397C
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D050F
muted
#7E797F

Preview Lab

Preview with #591581

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

Preview Lab → · Contrast checker → · Palette generator →

#591581 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva