Skip to content

#5000aa

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

RGB
80, 0, 170
HSL
268°, 100%, 33%
CMYK
53, 100, 0, 33
Luminance
0.0461

Every format

HEX#5000aa
RGBrgb(80, 0, 170)
HSLhsl(268, 100%, 33%)
CMYKcmyk(53%, 100%, 0%, 33%)
LABlab(25.6 61.1 -69.5)
LCHlch(25.6 92.6 311.3)
OKLCHoklch(0.388 0.216 292.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#5000aa on white: 10.93:1
AA ✓ pass · AA-large · AAA
Aa
#5000aa on black: 1.92:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red31.4%
Green0.0%
Blue66.7%

CMYK percentages

Cyan52.9%
Magenta100.0%
Yellow0.0%
Key (black)33.3%

Color previews

#5000aa text on a black background

contrast 1.92:1

Card sample

#5000aa text on a white background

contrast 10.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #5000aa;
Background color
Panel with #5000aa background
background-color: #5000aa;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #5000aa;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(80, 0, 170, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(80, 0, 170, 0.45);
Border & gradient
Gradient panel
border: 3px solid #5000aa;
background: linear-gradient(135deg, #5000aa, #AA0093);

Monochromatic scale

Palettes built from #5000aa

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #5000aa in the Color Lab