#591281#591281

#591281 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.8% C 0.170 H 308.8°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#591281
RGBrgb(89, 18, 129)
HSLhsl(278, 76%, 29%)
HSVhsv(278, 86%, 51%)
CMYKcmyk(31%, 86%, 0%, 49.4%)
CIE-LABlab(24.13, 48.82, -46.59)
CIE-LCHlch(24.13, 67.48, 316.34°)
OKLaboklab(36.84% 0.1064 -0.1325)
OKLCHoklch(36.84% 0.17 308.8)
XYZxyz(8.2978, 4.1416, 21.1269)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591281 #3A8112
analogous
#211281 #591281 #811272
triadic
#591281 #815912 #128159
tetradic
#591281 #812112 #3A8112 #127281
square
#591281 #812112 #3A8112 #127281
split-complementary
#591281 #728112 #128121
monochromatic
#13041B #340B4B #591281 #7E19B7 #A02CE2

Accessibility & contrast

On white

11.49
#591281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#591281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591281
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591281#FFFFFF#000000##FFFFFF
##5912811.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003784
Deuteranopia (green-blind)
#003A7F
Tritanopia (blue-blind)
#53314C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #591281;
/* rgb */ color: rgb(89, 18, 129);
/* oklch */ color: oklch(36.8% 0.170 308.8);
Tailwind
colors: {
  custom: {
    50: '#8d5ba6',
    500: '#591281',
    950: '#000000',
  },
}
SCSS
$custom: #591281;
$custom-light: #8d5ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#591281",
  "rgb": {
    "r": 89,
    "g": 18,
    "b": 129
  },
  "hsl": {
    "h": 278.378,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.36836,
    "c": 0.16992,
    "h": 308.8
  },
  "luminance": 0.04141
}

Semantic roles & 50–950 ramp

primary
#591281
secondary
#66B738
accent
#F2367A
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D040F
muted
#7E797F

Preview Lab

Preview with #591281

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

Preview Lab → · Contrast checker → · Palette generator →

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