Skip to content

#4d16df

a balanced, electric violet · warm · closest name: blue

RGB
77, 22, 223
HSL
256°, 82%, 48%
CMYK
66, 90, 0, 13
Luminance
0.0748

Every format

HEX#4d16df
RGBrgb(77, 22, 223)
HSLhsl(256, 82%, 48%)
CMYKcmyk(66%, 90%, 0%, 13%)
LABlab(32.9 69.2 -88.7)
LCHlch(32.9 112.5 308.0)
OKLCHoklch(0.454 0.260 280.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4d16df on white: 8.41:1
AA ✓ pass · AA-large · AAA
Aa
#4d16df on black: 2.50:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red30.2%
Green8.6%
Blue87.5%

CMYK percentages

Cyan65.5%
Magenta90.1%
Yellow0.0%
Key (black)12.5%

Color previews

#4d16df text on a black background

contrast 2.50:1

Card sample

#4d16df text on a white background

contrast 8.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #4d16df;
Background color
Panel with #4d16df background
background-color: #4d16df;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #4d16df;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(77, 22, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(77, 22, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4d16df;
background: linear-gradient(135deg, #4d16df, #D316DF);

Monochromatic scale

Palettes built from #4d16df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4d16df in the Color Lab