Darkmagenta — #8B008B
One of the 148 named colours defined by CSS — this page is its complete working profile: every format, WCAG contrast, a 50–950 shade scale and computed harmonies, all copy-ready.
Darkmagenta values in every format
| CSS name | darkmagenta |
|---|---|
| HEX | #8B008B |
| RGB | rgb(139, 0, 139) |
| RGB % | 55%, 0%, 55% |
| HSL | hsl(300, 100%, 27%) |
| HSV / HSB | 300°, 100%, 55% |
| CMYK (print) | 0%, 100%, 0%, 45% |
| Relative luminance | 0.074 |
| Contrast on black | 2.47 : 1 |
| Contrast on white | 8.50 : 1 |
| Best text colour on it | White (8.50 : 1 — passes WCAG AA for normal text) |
Named colours are defined in the CSS Color Module (W3C). Values on this page were computed with the same colour maths as Loona's Colour Converter and checked 9 November 2026.
Shades of Darkmagenta (50–950)
50 #FFF0FF100 #FFDBFF200 #FFADFF300 #FF70FF400 #FF29FF500 #EB00EB600 #BD00BD700 #940094800 #700070900 #4C004C950 #2E002E
The scale keeps Darkmagenta's hue (300°) and saturation (100%) and steps lightness — the same method as the Colour Shades Generator, so these steps drop straight into a design system.
Colour harmonies with Darkmagenta
Complementary: #8B008B#008B00
Analogous: #45008B#8B008B#8B0046
Triadic: #8B008B#8B8B00#008B8B
Split-complementary: #8B008B#468B00#008B46
Square: #8B008B#8B4500#008B00#00458B
Computed by rotating the hue wheel from 300°. Try them live in the Colour Harmony Generator.
Closest named colours
purple (#800080) · mediumvioletred (#C71585) · rebeccapurple (#663399)
Using Darkmagenta well
Darkmagenta sits in the magenta / pink family at 27% lightness — a dark, vivid, cool colour. As a background it pairs best with white text (8.50:1 contrast). Its complement (#008B00) is the high-energy partner for calls-to-action and highlights; the analogous neighbours (#45008B, #8B0046) give calm, same-family gradients. For print, start from the CMYK values above and proof — screen Darkmagenta is an sRGB colour and rich screens shades can shift on press.
Popular Design Tools
Frequently Asked Questions
What is the hex code for Darkmagenta?
#8B008B — the CSS named colour “darkmagenta”. Its RGB is (139, 0, 139).
Is Darkmagenta good for text or backgrounds?
As a background, white text reads best on it (8.50:1). As text itself on white it reaches 8.50:1 — enough for WCAG AA normal text.
What colours go with Darkmagenta?
Its complement #008B00 for contrast, analogous #45008B and #8B0046 for calm combinations, and the 50–950 shade scale above for monochrome designs.
What is Darkmagenta in CMYK for printing?
C0 M100 Y0 K45. CMYK conversions of screen colours are a starting point — always proof before a print run.