Skip to content

#aa00aa

a dark, electric magenta / pink · warm · closest name: purple

RGB
170, 0, 170
HSL
300°, 100%, 33%
CMYK
0, 100, 0, 33
Luminance
0.1145

Every format

HEX#aa00aa
RGBrgb(170, 0, 170)
HSLhsl(300, 100%, 33%)
CMYKcmyk(0%, 100%, 0%, 33%)
LABlab(40.3 72.5 -44.9)
LCHlch(40.3 85.3 328.2)
OKLCHoklch(0.518 0.238 328.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aa00aa on white: 6.38:1
AA ✓ pass · AA-large · AAA
Aa
#aa00aa on black: 3.29:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red66.7%
Green0.0%
Blue66.7%

CMYK percentages

Cyan0.0%
Magenta100.0%
Yellow0.0%
Key (black)33.3%

Color previews

#aa00aa text on a black background

contrast 3.29:1

Card sample

#aa00aa text on a white background

contrast 6.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aa00aa

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aa00aa in the Color Lab