#5931B0#5931B0

#5931B0 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.2% C 0.188 H 291.1°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#5931B0
RGBrgb(89, 49, 176)
HSLhsl(259, 56%, 44%)
HSVhsv(259, 72%, 69%)
CMYKcmyk(49.4%, 72.2%, 0%, 31%)
CIE-LABlab(32.82, 47.53, -61.20)
CIE-LCHlch(32.82, 77.49, 307.83°)
OKLaboklab(44.19% 0.0678 -0.1756)
OKLCHoklch(44.19% 0.188 291.1)
XYZxyz(13.0524, 7.4546, 41.8170)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5931B0 #88B031
analogous
#3149B0 #5931B0 #9931B0
triadic
#5931B0 #B05931 #31B059
tetradic
#5931B0 #B03149 #88B031 #31B099
square
#5931B0 #B03149 #88B031 #31B099
split-complementary
#5931B0 #B09931 #49B031
monochromatic
#291650 #412480 #5931B0 #7850CE #9D80DC

Accessibility & contrast

On white

8.43
#5931B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#5931B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5931B0#FFFFFF#000000##FFFFFF
##5931B01.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB4
Deuteranopia (green-blind)
#004AAE
Tritanopia (blue-blind)
#3C526D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5931b0;
/* rgb */ color: rgb(89, 49, 176);
/* oklch */ color: oklch(44.2% 0.188 291.1);
Tailwind
colors: {
  custom: {
    50: '#906dc9',
    500: '#5931b0',
    950: '#000000',
  },
}
SCSS
$custom: #5931b0;
$custom-light: #906dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#5931b0",
  "rgb": {
    "r": 89,
    "g": 49,
    "b": 176
  },
  "hsl": {
    "h": 258.898,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44191,
    "c": 0.18824,
    "h": 291.1
  },
  "luminance": 0.07455
}

Semantic roles & 50–950 ramp

primary
#5931B0
secondary
#ADC578
accent
#E048B0
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5931B0

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

Preview Lab → · Contrast checker → · Palette generator →

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