CSS Named Color
Copy-ready color values
HEX
#483D8BRGB
rgb(72, 61, 139)HSL
hsl(248, 39%, 39%)HSV
hsv(248, 56%, 55%)CMYK approx.
cmyk(48, 56, 0, 45)Color value table
| Format | Value | Copy |
|---|---|---|
| HEX | #483D8B | |
| RGB | rgb(72, 61, 139) | |
| HSL | hsl(248, 39%, 39%) | |
| HSV | hsv(248, 56%, 55%) | |
| CMYK approx. | cmyk(48, 56, 0, 45) | |
| CSS keyword | darkslateblue |
Contrast and classification
DarkLightness9.07:1Contrast with white2.32:1Contrast with blackPurple / BlueColor family
Shade and tint preview
White 10%#5A5097
White 30%#7F77AE
White 70%#C8C5DC
White 90%#EDECF3
Black 10%#41377D
Black 30%#322B61
Black 70%#16122A
Black 90%#07060E
Harmony palettes
Complementary
#B7C274#C8D195Analogous
#473D83#484682Triadic
#3D8B48#8B483DSplit complementary
#C4CD8D#969F5FUsing Darkslateblue
Darkslateblue 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-darkslateblue: #483d8b;
}
.button-primary {
background: var(--color-darkslateblue);
color: #ffffff;
}
$darkslateblue: #483d8b;
// Tailwind arbitrary value
class="bg-[#483d8b] text-white"