CSS Named Color
Copy-ready color values
HEX
#6A5ACDRGB
rgb(106, 90, 205)HSL
hsl(248, 53%, 58%)HSV
hsv(248, 56%, 80%)CMYK approx.
cmyk(48, 56, 0, 20)Color value table
| Format | Value | Copy |
|---|---|---|
| HEX | #6A5ACD | |
| RGB | rgb(106, 90, 205) | |
| HSL | hsl(248, 53%, 58%) | |
| HSV | hsv(248, 56%, 80%) | |
| CMYK approx. | cmyk(48, 56, 0, 20) | |
| CSS keyword | slateblue |
Contrast and classification
LightLightness5.31:1Contrast with white3.96:1Contrast with blackPurple / BlueColor family
Shade and tint preview
White 10%#796BD2
White 30%#978CDC
White 70%#D2CEF0
White 90%#F0EFFA
Black 10%#5F51B9
Black 30%#4A3F90
Black 70%#201B3E
Black 90%#0B0915
Harmony palettes
Complementary
#95A532#AEBB63Analogous
#685AC1#6A68BFTriadic
#5ACD6A#CD6A5ASplit complementary
#A8B557#7A8729Using Slateblue
Slateblue 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-slateblue: #6a5acd;
}
.button-primary {
background: var(--color-slateblue);
color: #ffffff;
}
$slateblue: #6a5acd;
// Tailwind arbitrary value
class="bg-[#6a5acd] text-white"