#5916A1#5916A1

#5916A1 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 40.1% C 0.198 H 298.0°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#5916A1
RGBrgb(89, 22, 161)
HSLhsl(269, 76%, 36%)
HSVhsv(269, 86%, 63%)
CMYKcmyk(44.7%, 86.3%, 0%, 36.9%)
CIE-LABlab(27.49, 54.99, -60.91)
CIE-LCHlch(27.49, 82.06, 312.08°)
OKLaboklab(40.05% 0.0928 -0.1745)
OKLCHoklch(40.05% 0.198 298)
XYZxyz(10.8381, 5.2707, 34.1576)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5916A1 #5EA116
analogous
#1618A1 #5916A1 #9E16A1
triadic
#5916A1 #A15916 #16A159
tetradic
#5916A1 #A11618 #5EA116 #16A19E
square
#5916A1 #A11618 #5EA116 #16A19E
split-complementary
#5916A1 #A19E16 #18A116
monochromatic
#1D0735 #3B0F6B #5916A1 #771DD7 #964BE6

Accessibility & contrast

On white

10.22
#5916A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#5916A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5916A1
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5916A1#FFFFFF#000000##FFFFFF
##5916A11.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A5
Deuteranopia (green-blind)
#003F9F
Tritanopia (blue-blind)
#46415F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #5916a1;
/* rgb */ color: rgb(89, 22, 161);
/* oklch */ color: oklch(40.1% 0.198 298.0);
Tailwind
colors: {
  custom: {
    50: '#905fbe',
    500: '#5916a1',
    950: '#000000',
  },
}
SCSS
$custom: #5916a1;
$custom-light: #905fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#5916a1",
  "rgb": {
    "r": 89,
    "g": 22,
    "b": 161
  },
  "hsl": {
    "h": 268.921,
    "s": 75.956,
    "l": 35.882
  },
  "oklch": {
    "l": 0.40053,
    "c": 0.19764,
    "h": 298
  },
  "luminance": 0.05271
}

Semantic roles & 50–950 ramp

primary
#5916A1
secondary
#8CC84B
accent
#F33597
background
#F9F5FB
surface
#F2EAF7
border
#CCC6D0
text
#0E0512
muted
#7E7981

Preview Lab

Preview with #5916A1

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

Preview Lab → · Contrast checker → · Palette generator →

#5916A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva