Toolman

#660066 color

#660066#660066

#660066 is a dark, vivid magenta, closest to the CSS named color purple (#800080).

Color values

HEX#660066
RGBrgb(102, 0, 102)
HSLhsl(300, 100%, 20%)
CMYKcmyk(0%, 100%, 0%, 60%)
Decimal6684774
CSScolor: #660066;
Android0xFF660066
SwiftUIColor(red: 0.400, green: 0.000, blue: 0.400, alpha: 1)

Accessibility and contrast

White text on #66006611.95:1 — AA pass · AA large pass · AAA pass
Black text on #6600661.76:1 — AA fail · AA large fail · AAA fail
Recommended text colorwhite

WCAG 2.1 asks for at least 4.5:1 for body text and 3:1 for large text (18 pt, or 14 pt bold).

Tints and shades of #660066

Each swatch keeps the hue and saturation of #660066 and varies only lightness — the quickest way to build a usable scale from a single brand color.

95%
85%
75%
65%
55%
45%
35%
25%
15%

Colors that go with #660066

Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.

Complementary
Triadic +120°
Triadic +240°
Analogous −30°
Analogous +30°
Split −150°
Split +150°

Using #660066 in code

/* CSS */
.element { color: #660066; background-color: #660066; }
.element { color: rgb(102 0 102); }
.element { color: hsl(300 100% 20%); }

/* Tailwind arbitrary value */
<div class="bg-[#660066] text-white">

/* SCSS variable */
$brand: #660066;

Frequently asked questions

What color is #660066?

#660066 is a dark, vivid magenta. Its hue sits at 300° on the color wheel, with 100% saturation and 20% lightness.

What is #660066 in RGB?

#660066 converts to rgb(102, 0, 102) — 102 red, 0 green and 102 blue.

What is #660066 in CMYK?

Approximately cmyk(0%, 100%, 0%, 60%). Print output depends on the ICC profile of the press and paper, so treat this as a starting point rather than an exact match.

Should text on #660066 be white or black?

White gives the better contrast ratio (11.95:1 versus 1.76:1).

What is the complementary color of #660066?

#006600 — the hue directly opposite #660066 on the color wheel.

Convert any color → · Browse all colors