Xerobit

Dark Magenta Hex Code and Color Values

Dark Magenta (CSS name darkmagenta) has the hex code #8B008B. In RGB it is 139, 0, 139, and in HSL it is 300 degrees, 100% saturation and 27% lightness.

Dark Magenta: #8B008B

  • Hex
    #8B008B
  • RGB
    rgb(139, 0, 139)
  • HSL
    hsl(300, 100%, 27%)
  • HSV
    300, 100%, 55%
  • CMYK
    0%, 100%, 0%, 45%
  • CSS name
    darkmagenta

Dark Magenta color values

FormatValue
Hex#8B008B
RGBrgb(139, 0, 139)
HSLhsl(300, 100%, 27%)
HSV300, 100%, 55%
CMYK (simple conversion)0%, 100%, 0%, 45%
Decimal9109643

CMYK is calculated with the standard formula from the RGB values. Printed colors depend on the ink and paper, so treat it as a starting point.

About Dark Magenta

Dark magenta is a deep, purplish red that feels richer and heavier than standard magenta. It appears occasionally in creative portfolios and luxury branding to convey mystery. The color maintains high saturation despite its lowered brightness. It is one of the 148 CSS named colors.

Shades and tints of Dark Magenta

Tints mix Dark Magenta with white and shades mix it with black. Each step changes the color by 10 percentage points.

StepTint (towards white)Shade (towards black)
10% #971A97 #7D007D
20% #A233A2 #6F006F
30% #AE4DAE #610061
40% #B966B9 #530053
50% #C580C5 #460046

Color harmony for Dark Magenta

These colors keep the same saturation and lightness as Dark Magenta and rotate the hue around the color wheel.

SchemeColors
Complementary #008B00
Analogous #46008B #8B0046
Triadic #8B8B00 #008B8B
Split complementary #468B00 #008B46

Contrast and accessibility

Contrast between #8B008B and white is 8.50:1 (passes AAA). Against black it is 2.47:1 (fails). For text on a Dark Magenta background, white text is the more readable choice.

Use Dark Magenta in CSS

.element {
  color: darkmagenta;
  background-color: #8B008B;
  border-color: rgb(139 0 139);
  outline-color: hsl(300 100% 27%);
}

All four lines produce exactly the same color. The keyword darkmagenta is one of the CSS named colors, so it works in every browser without a color function.

Similar named colors

  • Purple: #800080
  • mediumvioletred: #C71585
  • rebeccapurple: #663399
  • Indigo: #4B0082

FAQ

What is the hex code for Dark Magenta?

The hex code for Dark Magenta is #8B008B. As a CSS color keyword you can also write darkmagenta.

What is Dark Magenta in RGB?

Dark Magenta is rgb(139, 0, 139): red 139, green 0, blue 139 on the 0 to 255 scale.

What color is closest to Dark Magenta?

Of the CSS named colors, purple (#800080) is the closest match to Dark Magenta, followed by mediumvioletred and rebeccapurple.

More colors