slateblue

#6A5ACD · CSS color name

slateblue is the CSS color name for #6a5acd: RGB(106, 90, 205), HSL(248°, 53%, 58%), CMYK(48%, 56%, 0%, 20%). Contrast is 5.31:1 on white and 3.96:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#6a5acd
CSS color nameslateblue
RGBrgb(106 90 205)
RGB (legacy)rgb(106, 90, 205)
RGB %rgb(42% 35% 80%)
HSLhsl(248 53% 58%)
HSV / HSBhsv(248, 56%, 80%)
HWBhwb(248 35% 20%)
CMYKcmyk(48%, 56%, 0%, 20%)
CIELAB (D50)lab(44.57 29.65 -58.72)
LCHlch(44.57 65.78 296.79)
OKLaboklab(0.5436 0.0459 -0.165)
OKLCHoklch(0.5436 0.1712 285.54)
Decimal6970061

Properties

Color ToneViolet
Closest named colorslateblue ΔE 0
Closest web-safe color#6666cc
Hue248°
Saturation (HSL / HSV)53% / 56%
Lightness (HSL)58%
Brightness or Value (HSV)80%
Luminance (Rec.601 / Rec.709)42% / 40%
Relative luminance (WCAG)0.1478
Red / Green / Blue106 / 90 / 205

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.31:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.96:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 76.1 / -25.7 · As background with white / black text: Lc -81.4 / 28

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-slateblue: #6a5acd;
  --color-slateblue-oklch: oklch(54.36% 0.1712 285.54);
}
.text { color: var(--color-slateblue); }
.background { background-color: var(--color-slateblue); }
.border { border: 1px solid rgb(106 90 205 / 50%); }
/* Tailwind CSS */
<div class="bg-[#6a5acd] text-[#6a5acd] border-[#6a5acd]">