Skip to content

#501abc

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

RGB
80, 26, 188
HSL
260°, 76%, 42%
CMYK
57, 86, 0, 26
Luminance
0.0608

Every format

HEX#501abc
RGBrgb(80, 26, 188)
HSLhsl(260, 76%, 42%)
CMYKcmyk(57%, 86%, 0%, 26%)
LABlab(29.6 59.4 -73.7)
LCHlch(29.6 94.7 308.9)
OKLCHoklch(0.421 0.222 287.2)

Copy-ready code

/* CSS */
color: #501abc;
background-color: #501abc;
/* Tailwind (arbitrary) */
class="text-[#501abc] bg-[#501abc]"
/* SCSS */
$brand: #501abc;
/* SwiftUI */
Color(red: 0.314, green: 0.102, blue: 0.737)
/* Android */
Color.parseColor("#501abc")

Accessibility — WCAG contrast

Aa
#501abc on white: 9.48:1
AA ✓ pass · AA-large · AAA
Aa
#501abc on black: 2.22:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red31.4%
Green10.2%
Blue73.7%

CMYK percentages

Cyan57.4%
Magenta86.2%
Yellow0.0%
Key (black)26.3%

Color previews

#501abc text on a black background

contrast 2.22:1

Card sample

#501abc text on a white background

contrast 9.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #501abc;
Background color
Panel with #501abc background
background-color: #501abc;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #501abc;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(80, 26, 188, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(80, 26, 188, 0.45);
Border & gradient
Gradient panel
border: 3px solid #501abc;
background: linear-gradient(135deg, #501abc, #BC1ABC);

Monochromatic scale

Palettes built from #501abc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #501abc in the Color Lab