#5416A1#5416A1

#5416A1 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.4% C 0.197 H 295.5°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#5416A1
RGBrgb(84, 22, 161)
HSLhsl(267, 76%, 36%)
HSVhsv(267, 86%, 63%)
CMYKcmyk(47.8%, 86.3%, 0%, 36.9%)
CIE-LABlab(26.82, 54.36, -62.03)
CIE-LCHlch(26.82, 82.48, 311.23°)
OKLaboklab(39.45% 0.0848 -0.178)
OKLCHoklch(39.45% 0.197 295.5)
XYZxyz(10.3743, 5.0316, 34.1359)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5416A1 #63A116
analogous
#161DA1 #5416A1 #9916A1
triadic
#5416A1 #A15416 #16A154
tetradic
#5416A1 #A1161D #63A116 #16A199
square
#5416A1 #A1161D #63A116 #16A199
split-complementary
#5416A1 #A19916 #1DA116
monochromatic
#1C0735 #380F6B #5416A1 #701DD7 #904BE6

Accessibility & contrast

On white

10.47
#5416A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#5416A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5416A1
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5416A1#FFFFFF#000000##FFFFFF
##5416A11.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A5
Deuteranopia (green-blind)
#003D9F
Tritanopia (blue-blind)
#3D415F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #5416a1;
/* rgb */ color: rgb(84, 22, 161);
/* oklch */ color: oklch(39.4% 0.197 295.5);
Tailwind
colors: {
  custom: {
    50: '#8d5ebe',
    500: '#5416a1',
    950: '#000000',
  },
}
SCSS
$custom: #5416a1;
$custom-light: #8d5ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#5416a1",
  "rgb": {
    "r": 84,
    "g": 22,
    "b": 161
  },
  "hsl": {
    "h": 266.763,
    "s": 75.956,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39449,
    "c": 0.19716,
    "h": 295.5
  },
  "luminance": 0.05032
}

Semantic roles & 50–950 ramp

primary
#5416A1
secondary
#90C84B
accent
#F3359E
background
#F9F5FB
surface
#F1EAF7
border
#CBC6D0
text
#0D0512
muted
#7E7981

Preview Lab

Preview with #5416A1

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

Preview Lab → · Contrast checker → · Palette generator →

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