#5016A1#5016A1

#5016A1 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 39.0% C 0.197 H 293.5°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#5016A1
RGBrgb(80, 22, 161)
HSLhsl(265, 76%, 36%)
HSVhsv(265, 86%, 63%)
CMYKcmyk(50.3%, 86.3%, 0%, 36.9%)
CIE-LABlab(26.31, 53.88, -62.90)
CIE-LCHlch(26.31, 82.82, 310.59°)
OKLaboklab(38.98% 0.0784 -0.1806)
OKLCHoklch(38.98% 0.197 293.5)
XYZxyz(10.0264, 4.8522, 34.1196)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5016A1 #67A116
analogous
#1621A1 #5016A1 #9516A1
triadic
#5016A1 #A15016 #16A150
tetradic
#5016A1 #A11621 #67A116 #16A195
square
#5016A1 #A11621 #67A116 #16A195
split-complementary
#5016A1 #A19516 #21A116
monochromatic
#1A0735 #350F6B #5016A1 #6B1DD7 #8C4BE6

Accessibility & contrast

On white

10.66
#5016A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#5016A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5016A1
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5016A1#FFFFFF#000000##FFFFFF
##5016A11.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A5
Deuteranopia (green-blind)
#003C9F
Tritanopia (blue-blind)
#36425F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #5016a1;
/* rgb */ color: rgb(80, 22, 161);
/* oklch */ color: oklch(39.0% 0.197 293.5);
Tailwind
colors: {
  custom: {
    50: '#8b5ebe',
    500: '#5016a1',
    950: '#000000',
  },
}
SCSS
$custom: #5016a1;
$custom-light: #8b5ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#5016a1",
  "rgb": {
    "r": 80,
    "g": 22,
    "b": 161
  },
  "hsl": {
    "h": 265.036,
    "s": 75.956,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38982,
    "c": 0.19693,
    "h": 293.5
  },
  "luminance": 0.04853
}

Semantic roles & 50–950 ramp

primary
#5016A1
secondary
#94C84B
accent
#F335A4
background
#F9F5FB
surface
#F1E9F7
border
#CBC5D0
text
#0D0512
muted
#7E7981

Preview Lab

Preview with #5016A1

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

Preview Lab → · Contrast checker → · Palette generator →

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