#5917A0#5917A0

#5917A0 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 40.0% C 0.196 H 298.2°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#5917A0
RGBrgb(89, 23, 160)
HSLhsl(269, 75%, 36%)
HSVhsv(269, 86%, 63%)
CMYKcmyk(44.4%, 85.6%, 0%, 37.3%)
CIE-LABlab(27.50, 54.44, -60.28)
CIE-LCHlch(27.50, 81.22, 312.08°)
OKLaboklab(40.03% 0.0925 -0.1727)
OKLCHoklch(40.03% 0.196 298.2)
XYZxyz(10.7697, 5.2745, 33.7016)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5917A0 #5EA017
analogous
#171AA0 #5917A0 #9D17A0
triadic
#5917A0 #A05917 #17A059
tetradic
#5917A0 #A0171A #5EA017 #17A09D
square
#5917A0 #A0171A #5EA017 #17A09D
split-complementary
#5917A0 #A09D17 #1AA017
monochromatic
#1D0835 #3B0F6A #5917A0 #771FD6 #964CE5

Accessibility & contrast

On white

10.22
#5917A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#5917A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5917A0
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5917A0#FFFFFF#000000##FFFFFF
##5917A01.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A4
Deuteranopia (green-blind)
#003F9E
Tritanopia (blue-blind)
#46405F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #5917a0;
/* rgb */ color: rgb(89, 23, 160);
/* oklch */ color: oklch(40.0% 0.196 298.2);
Tailwind
colors: {
  custom: {
    50: '#905fbd',
    500: '#5917a0',
    950: '#000000',
  },
}
SCSS
$custom: #5917a0;
$custom-light: #905fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#5917a0",
  "rgb": {
    "r": 89,
    "g": 23,
    "b": 160
  },
  "hsl": {
    "h": 268.905,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.40031,
    "c": 0.19594,
    "h": 298.2
  },
  "luminance": 0.05275
}

Semantic roles & 50–950 ramp

primary
#5917A0
secondary
#8CC74C
accent
#F13697
background
#F9F5FB
surface
#F2EAF7
border
#CCC6D0
text
#0D0512
muted
#7E7981

Preview Lab

Preview with #5917A0

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

Preview Lab → · Contrast checker → · Palette generator →

#5917A0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva