Skip to content

#5416ac

a dark, electric violet · warm · closest name: indigo

RGB
84, 22, 172
HSL
265°, 77%, 38%
CMYK
51, 87, 0, 33
Luminance
0.0544

Every format

HEX#5416ac
RGBrgb(84, 22, 172)
HSLhsl(265, 77%, 38%)
CMYKcmyk(51%, 87%, 0%, 33%)
LABlab(27.9 57.1 -66.8)
LCHlch(27.9 87.9 310.5)
OKLCHoklch(0.406 0.208 292.7)

Copy-ready code

/* CSS */
color: #5416ac;
background-color: #5416ac;
/* Tailwind (arbitrary) */
class="text-[#5416ac] bg-[#5416ac]"
/* SCSS */
$brand: #5416ac;
/* SwiftUI */
Color(red: 0.329, green: 0.086, blue: 0.675)
/* Android */
Color.parseColor("#5416ac")

Accessibility — WCAG contrast

Aa
#5416ac on white: 10.06:1
AA ✓ pass · AA-large · AAA
Aa
#5416ac on black: 2.09:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red32.9%
Green8.6%
Blue67.5%

CMYK percentages

Cyan51.2%
Magenta87.2%
Yellow0.0%
Key (black)32.5%

Color previews

#5416ac text on a black background

contrast 2.09:1

Card sample

#5416ac text on a white background

contrast 10.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #5416ac;
Background color
Panel with #5416ac background
background-color: #5416ac;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #5416ac;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(84, 22, 172, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(84, 22, 172, 0.45);
Border & gradient
Gradient panel
border: 3px solid #5416ac;
background: linear-gradient(135deg, #5416ac, #AC16A0);

Monochromatic scale

Palettes built from #5416ac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #5416ac in the Color Lab