#591381#591381

#591381 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.9% C 0.169 H 308.7°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#591381
RGBrgb(89, 19, 129)
HSLhsl(278, 74%, 29%)
HSVhsv(278, 85%, 51%)
CMYKcmyk(31%, 85.3%, 0%, 49.4%)
CIE-LABlab(24.24, 48.50, -46.42)
CIE-LCHlch(24.24, 67.13, 316.26°)
OKLaboklab(36.91% 0.1057 -0.132)
OKLCHoklch(36.91% 0.169 308.7)
XYZxyz(8.3143, 4.1747, 21.1324)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591381 #3B8113
analogous
#221381 #591381 #811372
triadic
#591381 #815913 #138159
tetradic
#591381 #812213 #3B8113 #137281
square
#591381 #812213 #3B8113 #137281
split-complementary
#591381 #728113 #138122
monochromatic
#12041B #340B4C #591381 #7E1BB6 #9F2EE0

Accessibility & contrast

On white

11.44
#591381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #591381
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591381#FFFFFF#000000##FFFFFF
##5913811.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #591381;
/* rgb */ color: rgb(89, 19, 129);
/* oklch */ color: oklch(36.9% 0.169 308.7);
Tailwind
colors: {
  custom: {
    50: '#8d5ca6',
    500: '#591381',
    950: '#000000',
  },
}
SCSS
$custom: #591381;
$custom-light: #8d5ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#591381",
  "rgb": {
    "r": 89,
    "g": 19,
    "b": 129
  },
  "hsl": {
    "h": 278.182,
    "s": 74.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.3691,
    "c": 0.16908,
    "h": 308.7
  },
  "luminance": 0.04175
}

Semantic roles & 50–950 ramp

primary
#591381
secondary
#67B63A
accent
#F1377B
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D040F
muted
#7E797F

Preview Lab

Preview with #591381

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

Preview Lab → · Contrast checker → · Palette generator →

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