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
| HEX | #8b008b |
| RGB | rgb(139, 0, 139) |
| HSL | hsl(300, 100%, 27%) |
Harmonies
Complementary
#008a00Analogous
#45008a#8a0045Triadic
#8a8a00#008a8aSplit complementary
#458a00#008a45Tints & shades
Accessibility
| vs #ffffff | 8.5:1 |
| vs #000000 | 2.47:1 |
| Suggested text color | #ffffff · 8.5:1 · WCAG AAA |
Similar named colors
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.