Dark Magenta (#8B008B)
HEX, RGB, HSL, CMYK values + mood/style/use-case color tags. Use this page to keep your colors consistent across web and print.
Preview
Contrast vs white: 8.50:1 — vs black: 2.47:1
Color values
-
HEX
#8B008B -
RGB
rgb(139, 0, 139) -
HSL
hsl(300, 100%, 54%) -
CMYK
cmyk( 0, 100, 0, 45.49 ) -
Websafe
#990099
Tags
Style
Use case
Tip: tags are heuristic suggestions (helpful for browsing and inspiration).
Color Harmonies
Colors that pair well with #8B008B based on color theory relationships.
The color directly opposite on the color wheel — creates maximum contrast and vibrance.
#8B008B
Base
#008B00
Colors adjacent on the wheel — naturally harmonious and pleasing to the eye.
#8B008B
Base
#45008B
#8B0045
Three colors equally spaced 120° apart — bold, balanced, and visually rich.
Two colors flanking the complement — high contrast with less tension than full complementary.
#8B008B
Base
#458B00
#008B45
Four colors at 90° intervals — rich variety, best when one color dominates.
#8B008B
Base
#8B4500
#008B00
#00458B
Shades and tints of the same hue — cohesive, elegant, and easy to work with.
#8B008B
Base
#1A001A
#3E003E
#620062
#B400B4
#D700D7
#FF25FF
Darker shades and lighter tints of Dark Magenta, generated by adjusting lightness while keeping the same hue and saturation.
Shades (darker)
#1A001A
#300030
#470047
#5E005E
#740074
#8B008B
Base
#D000D0
#FF16FF
#FF5BFF
#FFA0FF
#FFE6FF
Ready-to-use code snippets for #8B008B. Click the copy button to copy any snippet to your clipboard.
/* Background */
.element {
background-color: #8B008B;
}
/* Text */
.element {
color: #8B008B;
}
/* Border */
.element {
border: 1px solid #8B008B;
}
/* Linear gradient to complementary */
.element {
background: linear-gradient(
to right,
#8B008B,
#17FF17
);
}
/* Radial gradient */
.element {
background: radial-gradient(
circle,
#8B008B,
#17FF17
);
}
// SCSS variable
$dark-magenta: #8B008B;
// With RGB channels (useful for rgba() usage)
$dark-magenta-r: 139;
$dark-magenta-g: 0;
$dark-magenta-b: 139;
// Usage
.element {
background-color: $dark-magenta;
color: rgba($dark-magenta-r, $dark-magenta-g, $dark-magenta-b, 0.8);
}
How Dark Magenta appears to people with different types of color vision deficiency.
#8B008B
How the color appears with full color vision.
#4D4D8A
Deuteranopia affects ~8% of males. Green cones are absent, making it difficult to distinguish red from green. The most common form of color blindness.
#2F2F8B
Protanopia affects ~1% of males. Red cones are absent, causing reds to appear dark and indistinguishable from greens and browns.
#823333
Tritanopia is rare (~0.003%). Blue cones are absent, making blue and yellow difficult to distinguish. Blues may appear green, yellows appear pink.
#4D4D4D
Achromatopsia is complete color blindness. The world is seen entirely in shades of grey. Affects ~1 in 30,000 people.
How to use this color
- Copy HEX for CSS and design tools, or RGB/HSL for UI adjustments.
- Use CMYK when preparing print assets (posters, packaging, brochures).
- Check contrast before using it for text or important UI elements.