Dark Magenta color — #8B008B
Dark Magenta is a CSS named color with the HEX code #8B008B, RGB value rgb(139, 0, 139) and HSL value hsl(300, 100%, 27%).
Pink
Dark Magenta
#8B008B
Color codes
- 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)
CSS usage
In CSS you can use the keyword or any equivalent value:
.element {
color: darkmagenta;
background-color: #8b008b;
border-color: rgb(139, 0, 139);
outline-color: hsl(300, 100%, 27%);
}Shades
Tints
Color harmonies
Complementary
Analogous
Triadic
Split complementary
Contrast ratio
Contrast ratio against white and black text, per WCAG 2.2.
Dark Magenta — On white8.49:1 · AAA
Dark Magenta — On black2.47:1 · Fail