Dark Violet Hex Code — #9400D3
RGB, HSL, and CMYK values for Dark Violet.
Last updated: April 6, 2026
Dark Violet Color Values
| Format | Value |
|---|---|
| HEX | #9400D3 |
| RGB | rgb(148, 0, 211) |
| HSL | hsl(282, 100%, 41%) |
| CMYK | cmyk(30%, 100%, 0%, 17%) |
About Dark Violet
Color psychology: Creativity, mystery.
Dark Violet (#9400D3) is a medium shade of purple with a hue angle of 282° on the color wheel, 100% saturation, and 41% lightness. It's commonly used in web design, graphic design, and branding where creativity, mystery are desired associations.
In color theory, Dark Violet 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 Violet in Design
Web Design
Use Dark Violet 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 Violet conveys creativity, mystery — 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:30% M:100% Y:0% K:17%) 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 Violet 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 Violet in CSS
/* Using HEX */ color: #9400D3; background-color: #9400D3; /* Using RGB */ color: rgb(148, 0, 211); /* Using HSL — best for creating variations */ color: hsl(282, 100%, 41%); /* Transparent overlay (50% opacity) */ background-color: rgba(148, 0, 211, 0.5); /* Lighter variant for hover states */ background-color: hsl(282, 100%, 51%); /* Darker variant for active states */ background-color: hsl(282, 100%, 31%);
HSL is the most flexible format for creating color systems. By adjusting the lightness value, you can generate an entire shade scale from Dark Violet without changing its core hue or saturation.
Colors That Go With Dark Violet
Complementary
Analogous
Triadic
Similar Shades of Purple
Frequently Asked Questions
What is the hex code for Dark Violet?
What is Dark Violet in RGB and when should I use RGB?
How to use Dark Violet in CSS with different color formats?
What is the HSL value of Dark Violet and why is HSL useful for designers?
What is the CMYK value of Dark Violet for print design?
What colors pair well with Dark Violet in design projects?
Is Dark Violet (#9400D3) 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.