Toolman

Purple — #800080

#800080#800080

#800080 is a dark, vivid magenta. It is the CSS named color purple.

Color values

HEX#800080
RGBrgb(128, 0, 128)
HSLhsl(300, 100%, 25%)
CMYKcmyk(0%, 100%, 0%, 50%)
Decimal8388736
CSScolor: #800080;
Android0xFF800080
SwiftUIColor(red: 0.502, green: 0.000, blue: 0.502, alpha: 1)

Accessibility and contrast

White text on #8000809.42:1 — AA pass · AA large pass · AAA pass
Black text on #8000802.23: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 #800080

Each swatch keeps the hue and saturation of #800080 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 #800080

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 #800080 in code

/* CSS */
.element { color: #800080; background-color: #800080; }
.element { color: rgb(128 0 128); }
.element { color: hsl(300 100% 25%); }

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

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

Frequently asked questions

What color is #800080?

#800080 is a dark, vivid magenta, which CSS calls purple. Its hue sits at 300° on the color wheel, with 100% saturation and 25% lightness.

What is #800080 in RGB?

#800080 converts to rgb(128, 0, 128) — 128 red, 0 green and 128 blue.

What is #800080 in CMYK?

Approximately cmyk(0%, 100%, 0%, 50%). 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 #800080 be white or black?

White gives the better contrast ratio (9.42:1 versus 2.23:1).

What is the complementary color of #800080?

#008000 — the hue directly opposite #800080 on the color wheel.

Convert any color → · Browse all colors