#5931AC#5931AC

#5931AC is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.8% C 0.184 H 291.9°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#5931AC
RGBrgb(89, 49, 172)
HSLhsl(260, 56%, 43%)
HSVhsv(260, 72%, 67%)
CMYKcmyk(48.3%, 71.5%, 0%, 32.5%)
CIE-LABlab(32.48, 46.41, -59.38)
CIE-LCHlch(32.48, 75.36, 308.01°)
OKLaboklab(43.84% 0.0686 -0.1703)
OKLCHoklch(43.84% 0.184 291.9)
XYZxyz(12.6624, 7.2986, 39.7633)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5931AC #84AC31
analogous
#3146AC #5931AC #9631AC
triadic
#5931AC #AC5931 #31AC59
tetradic
#5931AC #AC3146 #84AC31 #31AC96
square
#5931AC #AC3146 #84AC31 #31AC96
split-complementary
#5931AC #AC9631 #46AC31
monochromatic
#28164D #40237C #5931AC #774ECC #9B7DDA

Accessibility & contrast

On white

8.54
#5931AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#5931AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5931AC#FFFFFF#000000##FFFFFF
##5931AC1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB0
Deuteranopia (green-blind)
#004AAA
Tritanopia (blue-blind)
#3F516B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5931ac;
/* rgb */ color: rgb(89, 49, 172);
/* oklch */ color: oklch(43.8% 0.184 291.9);
Tailwind
colors: {
  custom: {
    50: '#906dc6',
    500: '#5931ac',
    950: '#000000',
  },
}
SCSS
$custom: #5931ac;
$custom-light: #906dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#5931ac",
  "rgb": {
    "r": 89,
    "g": 49,
    "b": 172
  },
  "hsl": {
    "h": 259.512,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.43842,
    "c": 0.18354,
    "h": 291.9
  },
  "luminance": 0.07299
}

Semantic roles & 50–950 ramp

primary
#5931AC
secondary
#AAC376
accent
#DF49AE
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5931AC

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

Preview Lab → · Contrast checker → · Palette generator →

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