Skip to main content
matte

#6A5ACD

slateblue

#6A5ACD is the CSS named color "slateblue", an exact match. In RGB it breaks down to red 106, green 90, and blue 205 out of 255 each. In HSL terms that's a hue of 248°, 53% saturation, and 58% lightness: a mid-tone — usable as an accent for buttons, links, and icons against either a light or dark background.

Every format

HEX#6a5acd
RGBrgb(106, 90, 205)
HSLhsl(248° 53% 58%)
HSBhsb(248° 56% 80%)
OKLCHoklch(54% 0.171 286°)
OKLABoklab(54% 0.046 -0.165)
LCHlch(45% 65.8 297°)
CMYKcmyk(48% 56% 0% 20%)

Shades (darker)

#6a5acd · #5e4dbe · #533fb0 · #4831a2 · #3e2393

Tints (lighter)

#6a5acd · #7768dd · #8476ec · #9185fc · #9e93ff

Shades mix #6A5ACD toward black in even steps, useful for hover and pressed states in a UI; tints mix it toward white, useful for subtle backgrounds and disabled states that still read as the same color family.

On white: 5.31:1 — AA
On black: 3.96:1 — AA (large text only)

Frequently asked

What is #6A5ACD in RGB?
#6A5ACD is rgb(106, 90, 205) — red 106, green 90, blue 205 out of 255 each.
Does #6A5ACD pass WCAG contrast on a white background?
It has a contrast ratio of 5.31:1 against white, which passes WCAG AA for normal text.
What's a good background color to pair with #6A5ACD?
White text or a white background gives better contrast (5.31:1) than black (3.96:1).

Related colors

Full color tools