Royal Purple Hex Code — #7851A9
RGB, HSL, and CMYK values for Royal Purple.
Last updated: April 6, 2026
Royal Purple Color Values
| Format | Value |
|---|---|
| HEX | #7851A9 |
| RGB | rgb(120, 81, 169) |
| HSL | hsl(267, 35%, 49%) |
| CMYK | cmyk(29%, 52%, 0%, 34%) |
About Royal Purple
Color psychology: Prestige, grandeur.
Royal Purple (#7851A9) is a medium shade of purple with a hue angle of 267° on the color wheel, 35% saturation, and 49% lightness. It's commonly used in web design, graphic design, and branding where prestige, grandeur are desired associations.
In color theory, Royal Purple sits in the cool section of the spectrum. Its moderate saturation gives it a balanced, professional appearance suitable for both text and backgrounds.
When to Use Royal Purple in Design
Web Design
Use Royal 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
Royal Purple conveys prestige, grandeur — 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:29% M:52% Y:0% K:34%) 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 Royal 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 Royal Purple in CSS
/* Using HEX */ color: #7851A9; background-color: #7851A9; /* Using RGB */ color: rgb(120, 81, 169); /* Using HSL — best for creating variations */ color: hsl(267, 35%, 49%); /* Transparent overlay (50% opacity) */ background-color: rgba(120, 81, 169, 0.5); /* Lighter variant for hover states */ background-color: hsl(267, 35%, 59%); /* Darker variant for active states */ background-color: hsl(267, 35%, 39%);
HSL is the most flexible format for creating color systems. By adjusting the lightness value, you can generate an entire shade scale from Royal Purple without changing its core hue or saturation.
Colors That Go With Royal Purple
Complementary
Analogous
Triadic
Similar Shades of Purple
Frequently Asked Questions
What is the hex code for Royal Purple?
What is Royal Purple in RGB and when should I use RGB?
How to use Royal Purple in CSS with different color formats?
What is the HSL value of Royal Purple and why is HSL useful for designers?
What is the CMYK value of Royal Purple for print design?
What colors pair well with Royal Purple in design projects?
Is Royal Purple (#7851A9) 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.