Skip to content
Color Codes

CSS named color

SlateBlue Color Code

SlateBlue is a medium, moderately saturated blue-violet with the hex code #6A5ACD. In RGB it is rgb(106, 90, 205), in HSL hsl(248, 53%, 58%) and in CMYK cmyk(48%, 56%, 0%, 20%).

SlateBlue
#6A5ACD

Color values

In CSS you can write it as the keyword slateblue.

White text on SlateBlue has a contrast ratio of 5.31:1 and black text 3.96:1, so white text is the more readable choice.

The closest Tailwind CSS color is Indigo 500 (#6366F1).

Use SlateBlue in CSS

.element {
  color: slateblue;
  background-color: #6a5acd;
  border-color: rgb(106, 90, 205);
}

Tints and shades of SlateBlue

Ten steps from light to dark at the same hue. Click any swatch to copy it.

Colors that go with SlateBlue

Color-wheel harmonies built from #6A5ACD. Click a swatch to copy it or open the set in the color wheel.

Complementary

Open in color wheel

Opposite hues for maximum contrast and energetic accents.

Neighboring hues for calm, cohesive surfaces.

Three evenly spaced hues for balanced, colorful systems.

Split complementary

Open in color wheel

A base plus the two neighbors of its complement — contrast with less tension.

Text contrast on SlateBlue

Aa
White text
5.31:1
AA
Aa
Black text
3.96:1
AA · Large text
Check in the contrast checker

Colors similar to SlateBlue

Palettes with similar colors

Questions about SlateBlue

What is the hex code for SlateBlue?

The hex code for SlateBlue is #6A5ACD. Its RGB value is rgb(106, 90, 205) and its HSL value is hsl(248, 53%, 58%).

What colors go with SlateBlue?

The complementary color of SlateBlue is #BECD5B. For a softer scheme try the analogous colors #5B85CD and #A35BCD; for a balanced three-color scheme use the triadic colors #CD6A5B and #5BCD6A.

Is SlateBlue readable as a text color?

On a white background SlateBlue has a contrast ratio of 5.31:1, which passes WCAG AA for normal text (4.5:1). On black it reaches 3.96:1.

More purple colors