Skip to content

#a600cc

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

RGB
166, 0, 204
HSL
289°, 100%, 40%
CMYK
19, 100, 0, 20
Luminance
0.1247

Every format

HEX#a600cc
RGBrgb(166, 0, 204)
HSLhsl(289, 100%, 40%)
CMYKcmyk(19%, 100%, 0%, 20%)
LABlab(42.0 77.4 -62.3)
LCHlch(42.0 99.3 321.1)
OKLCHoklch(0.535 0.260 317.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a600cc on white: 6.01:1
AA ✓ pass · AA-large · AAA
Aa
#a600cc on black: 3.49:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red65.1%
Green0.0%
Blue80.0%

CMYK percentages

Cyan18.6%
Magenta100.0%
Yellow0.0%
Key (black)20.0%

Color previews

#a600cc text on a black background

contrast 3.49:1

Card sample

#a600cc text on a white background

contrast 6.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a600cc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a600cc in the Color Lab