Dark Magenta color #8B008B
Dark Magenta is one of the CSS named colors (keyword darkmagenta) with the hex code #8B008B — RGB 139, 0, 139, HSL 300°, 100%, 27%.
#8B008BDark Magenta
Color codes
- HEX
#8B008B- RGB
rgb(139, 0, 139)- HSL
hsl(300, 100%, 27%)- CMYK
0%, 100%, 0%, 45%- OKLCH
oklch(44.7% 0.205 328.4)- CSS keyword
darkmagenta
Tints and shades
#FFEFFE#FFC3FC#FF8FFC#E86EE5#CC54CA#B038AF#951695#760076#550055#360036#1A001A
Color harmonies
Complementary
#8B008B#006727
Analogous
#6725B3#8B008B#9B0053
Triadic
#8B008B#695100#00606B
Split complementary
#8B008B#4F5C00#006355
Tetradic
#8B008B#7F4300#006727#005B85
Contrast with text
| Pair | WCAG 2.x ratio | APCA Lc | Result |
|---|---|---|---|
| Dark Magenta text on white | 8.50 : 1 | 87 | AAA — any text |
| Dark Magenta text on black | 2.47 : 1 | -15 | Fails for text |
| White text on Dark Magenta | 8.50 : 1 | -92 | AAA — any text |
| Black text on Dark Magenta | 2.47 : 1 | 17 | Fails for text |
Palettes with this color
Frequently asked questions
What is the hex code of Dark Magenta?
Dark Magenta has the hex code #8B008B, which is RGB 139, 0, 139 and HSL 300°, 100%, 27%.
Which text color reads best on Dark Magenta?
White text: contrast 8.50 : 1 (black text: 2.47 : 1).
Which colors go well with Dark Magenta?
Its complementary color is #006727; analogous colors are #6725B3 and #9B0053; a triadic set adds #695100 and #00606B.
Similar colors
- Purple #800080
- Barney Purple #A00498
- Warm Purple #952E8F
- Darkish Purple #751973
- Red Violet #9E0168
- Rebecca Purple #663399
- Light Eggplant #894585
- Rich Purple #720058
- Dark Fuchsia #9D0759
- Purply #983FB2
Sources and licences
- CSS Color Module Level 4 — named colors (W3C Software and Document License)
- Afoli — conversions, shades, harmonies, WCAG 2.x / APCA contrast (tools/color/color-core.js)