Dark Magenta Hex Code — #8B008B

RGB, HSL, and CMYK values for Dark Magenta.

Last updated: April 6, 2026

Dark Magenta Color Values

FormatValue
HEX#8B008B
RGBrgb(139, 0, 139)
HSLhsl(300, 100%, 27%)
CMYKcmyk(0%, 100%, 0%, 45%)
Want to explore more shades? Use our Color Converter

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?
The hex color code for Dark Magenta is #8B008B. In CSS, apply it as text color with color: #8B008B;, as a background with background-color: #8B008B;, or as a border with border-color: #8B008B;. Hex is the most widely used color notation on the web because it is compact, supported by every browser, and easy to copy between design tools like Figma, Photoshop, and code editors.
What is Dark Magenta in RGB and when should I use RGB?
Dark Magenta in RGB is rgb(139, 0, 139), where Red=139, Green=0, and Blue=139 on a 0-255 scale. Use RGB when you need transparency — rgba(139, 0, 139, 0.5) creates a 50% transparent version. RGB is also the native format for HTML canvas, WebGL, and JavaScript image manipulation, since each channel represents the intensity of that primary light color on screen displays.
How to use Dark Magenta in CSS with different color formats?
Dark Magenta can be applied in CSS using multiple formats: (1) Hex: color: #8B008B; — most compact and widely used. (2) RGB: color: rgb(139, 0, 139); — useful when calculating colors dynamically in JavaScript. (3) HSL: color: hsl(300, 100%, 27%); — best for creating variations, since adjusting lightness produces lighter or darker shades while keeping the same hue. (4) With transparency: rgba(139, 0, 139, 0.8); or hsla(300, 100%, 27%, 0.8); for 80% opacity overlays.
What is the HSL value of Dark Magenta and why is HSL useful for designers?
Dark Magenta in HSL is hsl(300, 100%, 27%). HSL stands for Hue (300 degrees on the color wheel), Saturation (100% color intensity), and Lightness (27% brightness). HSL is the most intuitive format for designers because you can create harmonious palettes by rotating the hue, generate hover effects by increasing lightness by 10%, and desaturate colors by reducing the S value. This makes Dark Magenta a dark, vivid cool-toned color.
What is the CMYK value of Dark Magenta for print design?
Dark Magenta in CMYK is C:0% M:100% Y:0% K:45%. CMYK (Cyan, Magenta, Yellow, Key/Black) is the standard color model for professional printing — business cards, brochures, merchandise, and packaging. When designing for print in Adobe InDesign or Illustrator, use these exact CMYK values to ensure accurate color reproduction. Screen colors (RGB) often appear more vibrant than their printed CMYK equivalents, so always request a physical proof for brand-critical materials.
What colors pair well with Dark Magenta in design projects?
Purple pairs elegantly with gold, silver, and soft pinks. Dark purple with white creates a premium feel. In tech branding, purple signals creativity and innovation.
Is Dark Magenta (#8B008B) accessible for web design and WCAG compliant?
Most medium purples fail WCAG contrast requirements on white. Use dark purple (#4A148C or darker) for text, and reserve lighter purples for decorative or background elements only. For Dark Magenta specifically: as a dark shade (lightness: 27%), it can work as a text color on light backgrounds, but verify the exact contrast ratio using a contrast checker tool. WCAG 2.1 requires a minimum contrast ratio of 4.5:1 for normal text and 3:1 for large text (18px+ bold or 24px+ regular).

Was this page helpful?

Written by

Tamanna Tasnim

Senior Full Stack Developer

ToolsContainerDhaka, Bangladesh5+ years experiencetasnim@toolscontainer.comwww.toolscontainer.com

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.