#5931AA#5931AA

#5931AA is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.7% C 0.181 H 292.4°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#5931AA
RGBrgb(89, 49, 170)
HSLhsl(260, 55%, 43%)
HSVhsv(260, 71%, 67%)
CMYKcmyk(47.6%, 71.2%, 0%, 33.3%)
CIE-LABlab(32.31, 45.85, -58.45)
CIE-LCHlch(32.31, 74.29, 308.11°)
OKLaboklab(43.67% 0.069 -0.1675)
OKLCHoklch(43.67% 0.181 292.4)
XYZxyz(12.4718, 7.2223, 38.7593)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5931AA #82AA31
analogous
#3145AA #5931AA #9531AA
triadic
#5931AA #AA5931 #31AA59
tetradic
#5931AA #AA3145 #82AA31 #31AA95
square
#5931AA #AA3145 #82AA31 #31AA95
split-complementary
#5931AA #AA9531 #45AA31
monochromatic
#27164B #40237A #5931AA #774DCC #9B7CD9

Accessibility & contrast

On white

8.59
#5931AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#5931AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5931AA
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5931AA#FFFFFF#000000##FFFFFF
##5931AA1.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAE
Deuteranopia (green-blind)
#004AA8
Tritanopia (blue-blind)
#40506A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5931aa;
/* rgb */ color: rgb(89, 49, 170);
/* oklch */ color: oklch(43.7% 0.181 292.4);
Tailwind
colors: {
  custom: {
    50: '#8f6cc4',
    500: '#5931aa',
    950: '#000000',
  },
}
SCSS
$custom: #5931aa;
$custom-light: #8f6cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#5931aa",
  "rgb": {
    "r": 89,
    "g": 49,
    "b": 170
  },
  "hsl": {
    "h": 259.835,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.43669,
    "c": 0.18118,
    "h": 292.4
  },
  "luminance": 0.07223
}

Semantic roles & 50–950 ramp

primary
#5931AA
secondary
#A8C275
accent
#DF49AD
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5931AA

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

Preview Lab → · Contrast checker → · Palette generator →

#5931AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva