Purple Hex Code — #800080
RGB, HSL, and CMYK values for Purple.
Last updated: April 6, 2026
Purple Color Values
| Format | Value |
|---|---|
| HEX | #800080 |
| RGB | rgb(128, 0, 128) |
| HSL | hsl(300, 100%, 25%) |
| CMYK | cmyk(0%, 100%, 0%, 50%) |
About Purple
Color psychology: Royalty, luxury, ambition.
Purple (#800080) is a dark shade of purple with a hue angle of 300° on the color wheel, 100% saturation, and 25% lightness. It's commonly used in web design, graphic design, and branding where royalty, luxury, ambition are desired associations.
In color theory, Purple sits in the cool section of the spectrum. Its high saturation makes it vivid and attention-grabbing — ideal for CTAs, headings, and brand accents.
When to Use Purple in Design
Web Design
Use Purple for headings, links, or accent elements against light backgrounds. Dark colors like this provide strong contrast and draw the eye to important content.
Branding & Logo
Purple conveys royalty, luxury, ambition — consider it for brands that want to project these qualities. Test it at small sizes (favicon, social avatar) to ensure it remains recognizable.
Print Design
Use the CMYK values (C:0% M:100% Y:0% K:50%) for accurate print reproduction in brochures, business cards, and packaging. Request a physical proof — screen colors often appear more vibrant than their printed equivalents.
UI / UX Design
Dark colors like Purple are effective for primary buttons, navigation bars, and text. Use a lighter tint (increase HSL lightness to 90%+) for hover backgrounds.
How to Use Purple in CSS
/* Using HEX */ color: #800080; background-color: #800080; /* Using RGB */ color: rgb(128, 0, 128); /* Using HSL — best for creating variations */ color: hsl(300, 100%, 25%); /* Transparent overlay (50% opacity) */ background-color: rgba(128, 0, 128, 0.5); /* Lighter variant for hover states */ background-color: hsl(300, 100%, 35%); /* Darker variant for active states */ background-color: hsl(300, 100%, 15%);
HSL is the most flexible format for creating color systems. By adjusting the lightness value, you can generate an entire shade scale from Purple without changing its core hue or saturation.
Colors That Go With Purple
Complementary
Analogous
Triadic
Similar Shades of Purple
Frequently Asked Questions
What is the hex code for Purple?
What is Purple in RGB and when should I use RGB?
How to use Purple in CSS with different color formats?
What is the HSL value of Purple and why is HSL useful for designers?
What is the CMYK value of Purple for print design?
What colors pair well with Purple in design projects?
Is Purple (#800080) accessible for web design and WCAG compliant?
Was this page helpful?
Written by
Tamanna Tasnim
Senior Full Stack Developer
Full-stack developer with deep expertise in data formats, APIs, and developer tooling. Writes in-depth technical comparisons and conversion guides backed by hands-on engineering experience across modern web stacks.