Dark Magenta
#8B008Brgb(139, 0, 139)hsl(300, 100%, 27%)
Dark Magenta is #8B008B, rgb(139, 0, 139).
In CSS: darkmagenta
1 of 2 backgrounds pass AA
- On whitePass8.50 : 1
- On ink blackFail2.25 : 1
About Dark Magenta
Dark Magenta is the hex color #8B008B, which translates to rgb(139, 0, 139) in RGB and hsl(300, 100%, 27%) in HSL. On the color wheel it sits at 300 degrees, with a saturation of 100 percent and a lightness of 27 percent. Its OKLCH chroma of 0.205 is high, so Dark Magenta is one of the more vivid purple tones here and is easy to overuse at large sizes.
How Dark Magenta compares
Dark Magenta is exactly the CSS keyword darkmagenta, so you can write the keyword instead of the hex and get an identical result. In the Tailwind CSS 4.3.1 palette the nearest token is fuchsia-800 (#8A0194), at a distance of 5.0. Inside this library the closest neighbour is Purple at 5.1. Sorted by lightness, Dark Magenta is number 3 of the 31 purple colors here.
Text on Dark Magenta
2 of the five common text colors below clear WCAG AA for normal text on Dark Magenta, led by White at 8.50:1. The ratios are computed with the WCAG relative luminance formula, the same one the contrast checker uses, which opens with Dark Magenta already loaded as the background.
| Text color | Ratio | AA normal | AA large | AAA normal |
|---|---|---|---|---|
| White #FFFFFF | 8.50:1 | Pass | Pass | Pass |
| Ink black #0F0F12 | 2.25:1 | Fail | Fail | Fail |
| Mid grey #6B7280 | 1.76:1 | Fail | Fail | Fail |
| Dark grey #374151 | 1.21:1 | Fail | Fail | Fail |
| Light grey #E5E7EB | 6.87:1 | Pass | Pass | Fail |
Building a palette around Dark Magenta
The pairings above give you three classic starting points. The complementary color sits opposite on the wheel and works well as an accent that draws the eye. The analogous colors sit right beside Dark Magenta for calmer, harmonious combinations. The triadic pair spaces three hues evenly for a balanced, energetic palette. Open any swatch to explore it as its own color, or open the palette generator with Dark Magenta locked and let it fill in the rest.
Full values for Dark Magenta
| Format | Value |
|---|---|
| HEX | #8B008B |
| RGB | rgb(139, 0, 139) |
| HSL | hsl(300, 100%, 27%) |
| HSV | hsv(300, 100%, 55%) |
| CMYK | cmyk(0%, 100%, 0%, 45%) |
| OKLCH | oklch(44.68% 0.2053 328.36) |
| CIELAB | lab(32.60 62.55 -38.73) |
Frequently asked questions
What is the RGB value of Dark Magenta?
Dark Magenta (#8B008B) is rgb(139, 0, 139): 139 red, 0 green and 139 blue on the 0 to 255 scale. Red and blue share the lead at 139 with green at 0, which puts the hue at 300 degrees. In HSL the same color is hsl(300, 100%, 27%).
What colour is #8B008B?
#8B008B is Dark Magenta, a dark purple colour with a hue of 300 degrees, 100% saturation and 27% lightness. For print the CMYK breakdown is 0% cyan, 100% magenta, 0% yellow and 45% black. Its nearest neighbour in this library is Purple, 5.1 away in CIELAB, a difference you can see.
Is Dark Magenta a CSS color name?
Yes. The keyword darkmagenta is one of the 148 named colors in CSS Color Module Level 4, so color: darkmagenta; renders exactly #8B008B.
What colors go with Dark Magenta?
Opposite Dark Magenta on the color wheel sits the complementary #008B00 (close to India Green), the boldest accent by hue. For a calmer scheme use the analogous neighbours #45008B and #8B0045; for a balanced three-color scheme use the triadic pair #8B8B00 and #008B8B (Dark Cyan). Of these, #8B8B00 has the most contrast against Dark Magenta, at 2.34:1, so pair it by hue, not for legibility.
What text color is readable on Dark Magenta?
White (#FFFFFF) is the most readable on Dark Magenta, at 8.50:1, which also clears WCAG AAA (7:1). 2 of the 5 common text colors tested pass AA for normal text.
Use Dark Magenta in a tool
Nearby colors
Last updated by FusionStudios. Every value on this page is computed by the same functions the tools use. How this is calculated.