darkmagenta darkmagenta #8b008b

darkmagenta is #8b008b in hexadecimal, rgb(139, 0, 139) in decimal and hsl(300, 100, 27) in HSL. This page lists its harmonies, lightness steps and contrast against black and white — all copyable.

HEX · RGB · HSL

#8b008b
HEX#8b008b
RGBrgb(139, 0, 139)
HSLhsl(300, 100%, 27%)

Harmonies

Complementary

#008a00

Analogous

#45008a#8a0045

Triadic

#8a8a00#008a8a

Split complementary

#458a00#008a45

Tints & shades

#750075#800080#8a008a#940094#9e009e

Accessibility

vs #ffffff8.5:1
vs #0000002.47:1
Suggested text color#ffffff · 8.5:1 · WCAG AAA

Similar named colors

purple#800080mediumvioletred#c71585rebeccapurple#663399indigo#4b0082darkviolet#9400d3darkorchid#9932cc

FAQ

What is the HEX code for darkmagenta?

darkmagenta is #8b008b in hex, rgb(139, 0, 139) in decimal and hsl(300, 100%, 27%) in HSL. In CSS you can write either color: darkmagenta; or color: #8b008b; — they are equivalent.

What colors go with darkmagenta?

The complementary #008a00 gives the strongest contrast, the analogous pair #45008a / #8a0045 is the safest, and the triad #8a8a00 / #008a8a adds more tension. All three are derived from the 300° hue of #8b008b.

Does #8b008b read better on white or black?

Its contrast is 8.5:1 against white and 2.47:1 against black. Use #ffffff text on it — that gives 8.5:1, which meets WCAG AAA.

Is a named color different from a hex color?

No. CSS named colors are just syntactic sugar for standard six-digit hex values; browsers resolve them to identical results in every modern engine.

← All named colors