CSS color names · Purples

Dark Slate Blue color: hex #483d8b, RGB and HSL

Dark Slate Blue is the CSS keyword darkslateblue, hex #483d8b, rgb(72, 61, 139), hsl(248, 39%, 39%). It is a dark, 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
darkslateblue
Hex
#483d8b
RGB
rgb(72, 61, 139)
HSL
hsl(248, 39%, 39%)
On white
9.07:1 — passes AA for body text
On black
2.32:1 — fails AA; use as a fill, not text
.example {
  color: darkslateblue;          /* keyword */
  color: #483d8b;          /* hex */
  color: rgb(72, 61, 139); /* rgb */
  color: hsl(248, 39%, 39%); /* hsl */
}

What colors go with dark slate blue

Each match keeps dark 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 dark 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.

#808b3d

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.

#8b6f3d
#598b3d

Triadic

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

#8b483d
#3d8b48

Analogous

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

#3d598b
#6f3d8b

Tints and shades of dark slate blue

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

Tints (lighter)

#5b4daf
#7b6fc0
#9c93d0
#bdb7df
#dedbef

Shades (darker)

#3c3374
#30295d
#241f46
#18142e
#0c0a17

A UI color palette built from dark slate blue

The eight semantic roles an interface actually uses, derived from dark 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
#483d8b
secondary
#8b6f3d
accent
#598b3d
background
#fcfcfd
surface
#f4f4f6
text
#15141f
muted
#666185
border
#e3e2e9
Dark mode
primary
#6c5fb9
secondary
#b9995f
accent
#80b95f
background
#121018
surface
#1a1925
text
#f4f4f6
muted
#9e9bb0
border
#302d43

Using dark 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 dark 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 Dark Slate Blue?
Dark Slate Blue is #483d8b. In CSS the keyword darkslateblue, the hex #483d8b, rgb(72, 61, 139) and hsl(248, 39%, 39%) all paint the same color.
What colors go with Dark Slate Blue?
Its complement is #808b3d, the split-complementary pair is #8b6f3d and #598b3d, the triadic partners are #8b483d and #3d8b48, and the analogous neighbors are #3d598b and #6f3d8b. In an interface, use Dark 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 Dark Slate Blue on the color wheel?
The opposite (complementary) color is #808b3d, 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 Dark Slate Blue for text?
Dark Slate Blue as text on white has a contrast ratio of 9.07:1, which passes WCAG AA for body text (4.5:1). On black it is 2.32: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.