Dark Magenta Hex Code — #8B008B
RGB, HSL, and CMYK values for Dark Magenta.
Last updated: April 6, 2026
Dark Magenta Color Values
| Format | Value |
|---|---|
| HEX | #8B008B |
| RGB | rgb(139, 0, 139) |
| HSL | hsl(300, 100%, 27%) |
| CMYK | cmyk(0%, 100%, 0%, 45%) |
About Dark Magenta
Color psychology: Ambition, power.
Dark Magenta (#8B008B) is a dark shade of purple with a hue angle of 300° on the color wheel, 100% saturation, and 27% lightness. It's commonly used in web design, graphic design, and branding where ambition, power are desired associations.
In color theory, Dark Magenta 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 Dark Magenta in Design
Web Design
Use Dark Magenta 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
Dark Magenta conveys ambition, power — 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:45%) 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 Dark Magenta are effective for primary buttons, navigation bars, and text. Use a lighter tint (increase HSL lightness to 90%+) for hover backgrounds.
How to Use Dark Magenta in CSS
/* Using HEX */ color: #8B008B; background-color: #8B008B; /* Using RGB */ color: rgb(139, 0, 139); /* Using HSL — best for creating variations */ color: hsl(300, 100%, 27%); /* Transparent overlay (50% opacity) */ background-color: rgba(139, 0, 139, 0.5); /* Lighter variant for hover states */ background-color: hsl(300, 100%, 37%); /* Darker variant for active states */ background-color: hsl(300, 100%, 17%);
HSL is the most flexible format for creating color systems. By adjusting the lightness value, you can generate an entire shade scale from Dark Magenta without changing its core hue or saturation.
Colors That Go With Dark Magenta
Complementary
Analogous
Triadic
Similar Shades of Purple
Frequently Asked Questions
What is the hex code for Dark Magenta?
What is Dark Magenta in RGB and when should I use RGB?
How to use Dark Magenta in CSS with different color formats?
What is the HSL value of Dark Magenta and why is HSL useful for designers?
What is the CMYK value of Dark Magenta for print design?
What colors pair well with Dark Magenta in design projects?
Is Dark Magenta (#8B008B) 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.