#591481#591481

#591481 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 37.0% C 0.168 H 308.6°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#591481
RGBrgb(89, 20, 129)
HSLhsl(278, 73%, 29%)
HSVhsv(278, 84%, 51%)
CMYKcmyk(31%, 84.5%, 0%, 49.4%)
CIE-LABlab(24.35, 48.18, -46.23)
CIE-LCHlch(24.35, 66.78, 316.18°)
OKLaboklab(36.99% 0.105 -0.1314)
OKLCHoklch(36.99% 0.168 308.6)
XYZxyz(8.3316, 4.2093, 21.1382)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591481 #3C8114
analogous
#231481 #591481 #811473
triadic
#591481 #815914 #148159
tetradic
#591481 #812314 #3C8114 #147381
square
#591481 #812314 #3C8114 #147381
split-complementary
#591481 #738114 #148123
monochromatic
#12041A #340C4C #591481 #7E1CB6 #9F30DF

Accessibility & contrast

On white

11.40
#591481 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#591481 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591481
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591481#FFFFFF#000000##FFFFFF
##5914811.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #591481;
/* rgb */ color: rgb(89, 20, 129);
/* oklch */ color: oklch(37.0% 0.168 308.6);
Tailwind
colors: {
  custom: {
    50: '#8d5ca6',
    500: '#591481',
    950: '#000000',
  },
}
SCSS
$custom: #591481;
$custom-light: #8d5ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#591481",
  "rgb": {
    "r": 89,
    "g": 20,
    "b": 129
  },
  "hsl": {
    "h": 277.982,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.36987,
    "c": 0.16821,
    "h": 308.6
  },
  "luminance": 0.04209
}

Semantic roles & 50–950 ramp

primary
#591481
secondary
#68B63B
accent
#F0387B
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D040F
muted
#7E797F

Preview Lab

Preview with #591481

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

Preview Lab → · Contrast checker → · Palette generator →

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