CSS Named Color
Copy-ready color values
HEX
#8B008BRGB
rgb(139, 0, 139)HSL
hsl(300, 100%, 27%)HSV
hsv(300, 100%, 55%)CMYK approx.
cmyk(0, 100, 0, 45)Color value table
| Format | Value | Copy |
|---|---|---|
| HEX | #8B008B | |
| RGB | rgb(139, 0, 139) | |
| HSL | hsl(300, 100%, 27%) | |
| HSV | hsv(300, 100%, 55%) | |
| CMYK approx. | cmyk(0, 100, 0, 45) | |
| CSS keyword | darkmagenta |
Contrast and classification
DarkLightness8.50:1Contrast with white2.47:1Contrast with blackMagenta / PurpleColor family
Shade and tint preview
White 10%#971A97
White 30%#AE4DAE
White 70%#DCB3DC
White 90%#F3E6F3
Black 10%#7D007D
Black 30%#610061
Black 70%#2A002A
Black 90%#0E000E
Harmony palettes
Complementary
#74FF74#95FF95Analogous
#7A008B#8B117ATriadic
#008B8B#8B8B00Split complementary
#8DFF8D#5FD15FUsing Darkmagenta
Darkmagenta works best when it is chosen with contrast, surrounding colors, and interface state in mind. Use the HEX value for static CSS, RGB when you need channel-level control, and HSL when adjusting lightness or saturation for hover states. The CMYK value is an approximate screen-to-print conversion, so print workflows should still rely on calibrated design software or a printer profile.
CSS, SCSS, and Tailwind examples
:root {
--color-darkmagenta: #8b008b;
}
.button-primary {
background: var(--color-darkmagenta);
color: #ffffff;
}
$darkmagenta: #8b008b;
// Tailwind arbitrary value
class="bg-[#8b008b] text-white"