#591681#591681

#591681 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.166 H 308.4°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#591681
RGBrgb(89, 22, 129)
HSLhsl(278, 71%, 30%)
HSVhsv(278, 83%, 51%)
CMYKcmyk(31%, 82.9%, 0%, 49.4%)
CIE-LABlab(24.59, 47.50, -45.85)
CIE-LCHlch(24.59, 66.02, 316.01°)
OKLaboklab(37.15% 0.1034 -0.1303)
OKLCHoklch(37.15% 0.166 308.4)
XYZxyz(8.3684, 4.2828, 21.1504)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591681 #3E8116
analogous
#231681 #591681 #811674
triadic
#591681 #815916 #168159
tetradic
#591681 #812316 #3E8116 #167481
square
#591681 #812316 #3E8116 #167481
split-complementary
#591681 #748116 #168123
monochromatic
#12041A #350D4D #591681 #7D1FB5 #9E35DD

Accessibility & contrast

On white

11.31
#591681 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#591681 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591681
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591681#FFFFFF#000000##FFFFFF
##5916811.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.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: #591681;
/* rgb */ color: rgb(89, 22, 129);
/* oklch */ color: oklch(37.1% 0.166 308.4);
Tailwind
colors: {
  custom: {
    50: '#8d5da6',
    500: '#591681',
    950: '#000000',
  },
}
SCSS
$custom: #591681;
$custom-light: #8d5da6;
$custom-dark: #000000;
JSON
{
  "hex": "#591681",
  "rgb": {
    "r": 89,
    "g": 22,
    "b": 129
  },
  "hsl": {
    "h": 277.57,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.3715,
    "c": 0.16637,
    "h": 308.4
  },
  "luminance": 0.04283
}

Semantic roles & 50–950 ramp

primary
#591681
secondary
#6AB63D
accent
#EE3A7D
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D050F
muted
#7E797F

Preview Lab

Preview with #591681

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

Preview Lab → · Contrast checker → · Palette generator →

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