#8B008B

DarkMagenta — Color Codes & Palette

#8B008B  ·  rgb(139, 0, 139)  ·  hsl(300, 100%, 27%)

Color Codes

Format Value
HEX #8B008B
RGB rgb(139, 0, 139)
HSL hsl(300, 100%, 27%)

Shades of DarkMagenta

#7A007A#6B006B#5C005C#4D004D#3D003D#2E002E#1F001F#0F000F

Tints of DarkMagenta

#B300B3#DB00DB#FF05FF#FF2EFF#FF57FF#FF80FF#FFA8FF#FFD1FF

Color Pairings & Harmony

Complementary
#008A00
Analogous +30°
#8A0045
Analogous −30°
#45008A
Triadic +120°
#8A8A00
Triadic −120°
#008A8A

Contrast & Accessibility (WCAG 2.1)

vs. White (#FFFFFF)
8.50:1 — AAA pass for normal text
vs. Black (#000000)
2.47:1 — Fail

CSS Snippet

.element {
  color: #8B008B;
}

.element-bg {
  background-color: #8B008B;
  color: #ffffff;
}

.element-border {
  border: 2px solid #8B008B;
}

About DarkMagenta

DarkMagenta is a dark color with vivid, highly saturated, defined by the hex code #8B008B. Its exact color model values are rgb(139, 0, 139) in RGB and hsl(300, 100%, 27%) in HSL (hue 300°, saturation 100%, lightness 27%). On a white background the contrast ratio is 8.50:1 — AAA pass for normal text, and on black it is 2.47:1 — Fail. Use DarkMagenta for UI elements, backgrounds, text, borders, or decorative accents. The shades section below shows progressively darker variations, while the tints strip shows progressively lighter versions — both useful for building a tonal palette. The harmony swatches provide complementary, analogous, and triadic pairings based on the HSL hue wheel.

Want to explore this color interactively, generate palettes, or convert between color formats? The DevArbor Color Picker has you covered.

Open the Color Picker →

Frequently Asked Questions

What is the RGB value of DarkMagenta?
The RGB value of DarkMagenta (#8B008B) is rgb(139, 0, 139). Red = rgb(139, 0, 139), representing the amounts of red, green, and blue light on a 0–255 scale.
Is DarkMagenta accessible on a white background?
The contrast ratio of DarkMagenta on white (#FFFFFF) is 8.50:1 — AAA pass for normal text. On black (#000000) the contrast ratio is 2.47:1 — Fail. WCAG 2.1 requires 4.5:1 for AA (normal text) and 7:1 for AAA.
What colors pair well with DarkMagenta?
Based on color theory, DarkMagenta (hsl(300, 100%, 27%)) pairs well with its complementary, analogous, and triadic hues. See the harmony swatches above for the exact hex values of each pairing type.