#6A5ACD color (slateblue)

#6A5ACD is rgb(106, 90, 205) in RGB and hsl(248, 53%, 58%) in HSL. It is exactly the CSS color slateblue. Use white text on it (contrast 5.31:1).

#6A5ACDslateblue
HEX#6A5ACD
RGBrgb(106, 90, 205)
RGB percentrgb(41.6%, 35.3%, 80.4%)
HSLhsl(248, 53%, 58%)
HSV / HSBhsv(248, 56%, 80%)
CMYKcmyk(48%, 56%, 0%, 20%)
CIELAB (D65)lab(45.3 36 -57.8)

Edit in the color converter → · Check contrast → · Shades →

About #6A5ACD

#6A5ACD is a medium, saturated violet with a hue angle of 248°. It belongs to the blue family and reads as a cool color. In the RGB model blue is the strongest channel at 205 (80%) and green the weakest at 90 (35%). Colors like this are typically used for illustrations, charts, highlights and secondary buttons.

Color conversions

HEX#6A5ACD
RGBrgb(106, 90, 205)
RGB percentrgb(41.6%, 35.3%, 80.4%)
HSLhsl(248, 53%, 58%)
HSV / HSBhsv(248, 56%, 80%)
CMYKcmyk(48%, 56%, 0%, 20%)
CIELAB (D65)lab(45.3 36 -57.8)
Decimal6970061
Binary01101010 01011010 11001101

HEX 6A 5A CD → 106, 90, 205 (each pair is a base-16 number: 6×16 + A = 106)

Color harmonies

Harmonies rotate the HSL hue (complementary +180°, triadic ±120°, split-complementary ±150°, analogous ±30°, tetradic 90° steps) and keep saturation and lightness. Swatches link to the nearest color page.

Tints and shades of #6A5ACD

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #6A5ACDRatioAA normalAA largeAAA normalAAA large
White text5.31:1PassPassFailPass
Black text3.96:1FailPassFailFail
White text on #6A5ACD
Black text on #6A5ACD
#6A5ACD text on white
#6A5ACD text on black

Relative luminance is 0.1478 (0 = black, 1 = white). WCAG 2 requires 4.5:1 for body text and 3:1 for large text and UI components.

Color blindness simulation

Protanopia
#0e6fd1

Deuteranopia
#0668cb

Tritanopia
#48748b

Achromatopsia
#6b6b6b

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 14.1). Do not rely on it alone to signal status; add an icon or text label. Simulation uses the Machado (2009) matrices for full dichromacy; achromatopsia shows luminance only.

Similar named colors

NameHEXΔE 2000
slateblue#6a5acd0
mediumslateblue#7b68ee7.1
royalblue#4169e19.1
mediumpurple#9370db10.4

CSS

.element {
  color: #6a5acd;
  background-color: rgb(106, 90, 205);
  border: 1px solid hsl(248, 53%, 58%);
  box-shadow: 0 2px 8px rgb(106 90 205 / 50%);
}
:root { --brand: #6a5acd; }

Frequently asked questions

What color is #6A5ACD?
A medium saturated violet in the blue family. Closest CSS name: slateblue.
What is #6A5ACD in RGB?
rgb(106, 90, 205): red 106, green 90, blue 205.
What is the complementary color of #6A5ACD?
#BDCD5A, found by rotating the hue 180°.