CSS color names · Purples

Slate Blue color: hex #6a5acd, RGB and HSL

Slate Blue is the CSS keyword slateblue, hex #6a5acd, rgb(106, 90, 205), hsl(248, 53%, 58%). It is a medium, muted blue in the purples family. Below: the colors that go with it, its tints and shades, how it reads as text, and a complete interface palette built from it.

CSS name
slateblue
Hex
#6a5acd
RGB
rgb(106, 90, 205)
HSL
hsl(248, 53%, 58%)
On white
5.31:1 — passes AA for body text
On black
3.96:1 — large text and UI only (3:1)
.example {
  color: slateblue;          /* keyword */
  color: #6a5acd;          /* hex */
  color: rgb(106, 90, 205); /* rgb */
  color: hsl(248, 53%, 58%); /* hsl */
}

What colors go with slate blue

Each match keeps slate blue's saturation and lightness and rotates only the hue, so the relationship is the wheel's and nothing else. Any of these can be an accent beside slate blue as the primary; the harmony guides explain which rule suits which interface.

Complementary

The opposite hue, 180° away — the strongest contrast, best kept to one accent per screen.

#bdcd5a

Split-complementary

The two neighbors of the complement, at 150° and 210° — most of the contrast with less tension, and two accents instead of one.

#cda35a
#84cd5a

Triadic

Two hues at 120° and 240° — three evenly spaced signals, the scheme charts and category colors want.

#cd6a5a
#5acd6a

Analogous

The neighbors at −30° and +30° — calm and cohesive, with emphasis coming from weight and size rather than hue.

#5a84cd
#a45acd

Tints and shades of slate blue

Tints add lightness toward white; shades remove it toward black. The hue and saturation stay fixed, so every step still reads as slate blue — these are the hover, pressed, disabled and surface variants a single brand color needs.

Tints (lighter)

#8376d5
#9c91de
#b4ace6
#cdc8ee
#e6e4f7

Shades (darker)

#4b39bd
#3c2e97
#2d2271
#1e174b
#0f0b26

A UI color palette built from slate blue

The eight semantic roles an interface actually uses, derived from slate blue as the primary with the split-complementary rule: secondary and accent rotate around the wheel, and the five neutrals take the hue at lightness steps tuned for light and dark mode. This is the same derivation the palette generator runs — open it there to change the rule, drag the anchors, or export the set as CSS variables.

Light mode
primary
#6a5acd
secondary
#cda35a
accent
#84cd5a
background
#fcfcfd
surface
#f4f3f6
text
#141122
muted
#615a8b
border
#e2e0eb
Dark mode
primary
#6a5acd
secondary
#cda35a
accent
#84cd5a
background
#100f1a
surface
#191627
text
#f4f3f6
muted
#9b97b4
border
#2d2947

Using slate blue in an interface

Purple is the hue most SaaS products have settled on for a primary — it is distinct from the blues of links and the reds and greens of status. The slate blues and indigo make dependable primaries; the light lavenders make tinted surfaces that still read as brand. Whichever role slate blue takes, define it once as a token rather than repeating the keyword: the semantic palette guide covers the eight roles, and the guides to complementary, triadic and the other color schemes explain how to weight the matches above.

What is the hex code for Slate Blue?
Slate Blue is #6a5acd. In CSS the keyword slateblue, the hex #6a5acd, rgb(106, 90, 205) and hsl(248, 53%, 58%) all paint the same color.
What colors go with Slate Blue?
Its complement is #bdcd5a, the split-complementary pair is #cda35a and #84cd5a, the triadic partners are #cd6a5a and #5acd6a, and the analogous neighbors are #5a84cd and #a45acd. In an interface, use Slate Blue for most colored elements and one of these for a single accent, at roughly an 80/20 split.
What is the opposite of Slate Blue on the color wheel?
The opposite (complementary) color is #bdcd5a, the same saturation and lightness rotated 180° around the HSL wheel. Complementary pairs give the strongest contrast, which is why the complement should be used sparingly rather than at equal weight.
Can I use Slate Blue for text?
Slate Blue as text on white has a contrast ratio of 5.31:1, which passes WCAG AA for body text (4.5:1). On black it is 3.96:1, which fails for body text. It works as a text color on light surfaces.

Similar named colors

More purples

We'd like to use Google cookies to understand how Nodlume is used and to measure our advertising. Nothing loads until you choose, and declining does not affect anything in the app.