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

Sample Text
This is how text may look on this color.
Best text color: #FFFFFF
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

Tip: tags are heuristic suggestions (helpful for browsing and inspiration).

Color Harmonies

Colors that pair well with #8B008B based on color theory relationships.

Complementary

The color directly opposite on the color wheel — creates maximum contrast and vibrance.

Dark Magenta
#8B008B Base
#008B00
Analogous

Colors adjacent on the wheel — naturally harmonious and pleasing to the eye.

Dark Magenta
#8B008B Base
#45008B
#8B0045
Triadic

Three colors equally spaced 120° apart — bold, balanced, and visually rich.

Dark Magenta
#8B008B Base
#8B8B00
Dark Cyan
#008B8B
Split-Complementary

Two colors flanking the complement — high contrast with less tension than full complementary.

Dark Magenta
#8B008B Base
#458B00
#008B45
Tetradic (Square)

Four colors at 90° intervals — rich variety, best when one color dominates.

Dark Magenta
#8B008B Base
#8B4500
#008B00
#00458B
Monochromatic

Shades and tints of the same hue — cohesive, elegant, and easy to work with.

Dark Magenta
#8B008B Base
#1A001A
#3E003E
#620062
#B400B4
#D700D7
#FF25FF
Shades & Tints

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
Dark Magenta #8B008B Base
#D000D0
#FF16FF
#FF5BFF
#FFA0FF
#FFE6FF
CSS & SCSS Snippets

Ready-to-use code snippets for #8B008B. Click the copy button to copy any snippet to your clipboard.

CSS Properties
/* Background */
.element {
    background-color: #8B008B;
}

/* Text */
.element {
    color: #8B008B;
}

/* Border */
.element {
    border: 1px solid #8B008B;
}
CSS Gradient
/* Linear gradient to complementary */
.element {
    background: linear-gradient(
        to right,
        #8B008B,
        #17FF17
    );
}

/* Radial gradient */
.element {
    background: radial-gradient(
        circle,
        #8B008B,
        #17FF17
    );
}
SCSS Variable
// 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);
}
Color Blindness Simulation

How Dark Magenta appears to people with different types of color vision deficiency.

Normal Vision #8B008B How the color appears with full color vision.
Deuteranopia #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.
Protanopia #2F2F8B Protanopia affects ~1% of males. Red cones are absent, causing reds to appear dark and indistinguishable from greens and browns.
Tritanopia #823333 Tritanopia is rare (~0.003%). Blue cones are absent, making blue and yellow difficult to distinguish. Blues may appear green, yellows appear pink.
Achromatopsia #4D4D4D Achromatopsia is complete color blindness. The world is seen entirely in shades of grey. Affects ~1 in 30,000 people.
Similar Named Colors

The closest named colors to Dark Magenta ranked by perceptual difference (Delta-E 2000 — lower = more similar).

Dark Magenta #8B008B Base
Mardi Gras #880085 ΔE 1.05
Purple #800080 ΔE 2.43
Violet (RYB) #8601AF ΔE 6.41
Eminence #6C3082 ΔE 7.08

How to use this color

  1. Copy HEX for CSS and design tools, or RGB/HSL for UI adjustments.
  2. Use CMYK when preparing print assets (posters, packaging, brochures).
  3. Check contrast before using it for text or important UI elements.