#6A5ACD
slateblue
#6A5ACD is a blue colour. In RGB it is 106 red, 90 green and 205 blue, which converts to a hue of 248 degrees, 53% saturation and 58% lightness. It is one of the named CSS colours, written as slateblue in stylesheets.
Color values
| HEX | #6A5ACD |
|---|---|
| RGB | rgb(106, 90, 205) |
| HSL | hsl(248, 53%, 58%) |
| HSV | hsv(248, 56%, 80%) |
| CMYK | cmyk(48%, 56%, 0%, 20%) |
Contrast and accessibility
Against white the contrast ratio is 5.31:1, and against black it is 3.96:1. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text.
| Background | Ratio | Normal text | Large text |
|---|---|---|---|
| White | 5.31:1 | AA | AAA |
| Black | 3.96:1 | Fail | AA |
Tints and shades
Lighter tints move #6A5ACD toward white, and darker shades move it toward black.
Tints
Shades
Color harmonies
Complementary
Analogous
Triadic
Split complementary
Code
| CSS | color: #6A5ACD; |
|---|---|
| CSS rgb() | color: rgb(106 90 205); |
| Tailwind | bg-[#6a5acd] |
| SwiftUI | Color(red: 0.416, green: 0.353, blue: 0.804) |
| Android | Color.parseColor("#6A5ACD") |