#5931AE#5931AE

#5931AE is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.0% C 0.186 H 291.5°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#5931AE
RGBrgb(89, 49, 174)
HSLhsl(259, 56%, 44%)
HSVhsv(259, 72%, 68%)
CMYKcmyk(48.9%, 71.8%, 0%, 31.8%)
CIE-LABlab(32.65, 46.97, -60.29)
CIE-LCHlch(32.65, 76.43, 307.92°)
OKLaboklab(44.02% 0.0682 -0.1729)
OKLCHoklch(44.02% 0.186 291.5)
XYZxyz(12.8560, 7.3760, 40.7825)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5931AE #86AE31
analogous
#3147AE #5931AE #9731AE
triadic
#5931AE #AE5931 #31AE59
tetradic
#5931AE #AE3147 #86AE31 #31AE97
square
#5931AE #AE3147 #86AE31 #31AE97
split-complementary
#5931AE #AE9731 #47AE31
monochromatic
#28164E #41247E #5931AE #774FCD #9C7FDB

Accessibility & contrast

On white

8.48
#5931AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#5931AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5931AE#FFFFFF#000000##FFFFFF
##5931AE1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB2
Deuteranopia (green-blind)
#004AAC
Tritanopia (blue-blind)
#3D516C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5931ae;
/* rgb */ color: rgb(89, 49, 174);
/* oklch */ color: oklch(44.0% 0.186 291.5);
Tailwind
colors: {
  custom: {
    50: '#906dc7',
    500: '#5931ae',
    950: '#000000',
  },
}
SCSS
$custom: #5931ae;
$custom-light: #906dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#5931ae",
  "rgb": {
    "r": 89,
    "g": 49,
    "b": 174
  },
  "hsl": {
    "h": 259.2,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.44016,
    "c": 0.18589,
    "h": 291.5
  },
  "luminance": 0.07376
}

Semantic roles & 50–950 ramp

primary
#5931AE
secondary
#ABC477
accent
#DF48AF
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5931AE

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

Preview Lab → · Contrast checker → · Palette generator →

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