Skip to content
Color Codes

CSS named color

DarkSlateBlue Color Code

DarkSlateBlue is a medium, moderately saturated blue-violet with the hex code #483D8B. In RGB it is rgb(72, 61, 139), in HSL hsl(248, 39%, 39%) and in CMYK cmyk(48%, 56%, 0%, 45%).

DarkSlateBlue
#483D8B

Color values

In CSS you can write it as the keyword darkslateblue.

White text on DarkSlateBlue has a contrast ratio of 9.07:1 and black text 2.32:1, so white text is the more readable choice.

The closest Tailwind CSS color is Indigo 900 (#312E81).

Use DarkSlateBlue in CSS

.element {
  color: darkslateblue;
  background-color: #483d8b;
  border-color: rgb(72, 61, 139);
}

Tints and shades of DarkSlateBlue

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

Colors that go with DarkSlateBlue

Color-wheel harmonies built from #483D8B. 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 DarkSlateBlue

Aa
White text
9.07:1
AAA
Aa
Black text
2.32:1
Fail
Check in the contrast checker

Colors similar to DarkSlateBlue

Palettes with similar colors

Questions about DarkSlateBlue

What is the hex code for DarkSlateBlue?

The hex code for DarkSlateBlue is #483D8B. Its RGB value is rgb(72, 61, 139) and its HSL value is hsl(248, 39%, 39%).

What colors go with DarkSlateBlue?

The complementary color of DarkSlateBlue is #808A3D. For a softer scheme try the analogous colors #3D598A and #6E3D8A; for a balanced three-color scheme use the triadic colors #8A473D and #3D8A47.

Is DarkSlateBlue readable as a text color?

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

More purple colors