Swatchproof

Slate blue #6A5ACD

Slate blue is one of the named colours in CSS, written slateblue. White text reaches 5.31:1 on it, enough for body text.

Try on walls Preview on a website

Colour codes

CSS keywordslateblue
HEX#6A5ACD
RGBrgb(106 90 205)
HSLhsl(248 53% 58%)
OKLCHoklch(54.4% 0.171 285.5)
White text5.31:1 · body text AA Pass
Black text3.96:1 · body text AA Fail

Colours that go with Slate blue

The closest colour in Sanzo Wada's A Dictionary of Color Combinations is Blue Violet (#6450A1), the nearest, though visibly different. These are the colours Wada paired it with, ranked by their contrast with Slate blue itself.

ColourHEXContrast with Slate blueBody text AA
Nile Blue#BCE4E53.88:1Fail
Pale King's Blue#A7D4E43.33:1Fail
Olive Buff#C1C4942.93:1Fail
Pinkish Cinnamon#EEB4802.90:1Fail
Cameo Pink#E0B3B62.85:1Fail
Venice Green#62C6BF2.62:1Fail
Citron Yellow#B2B73E2.46:1Fail
Hay's Russet#7933271.71:1Fail
Eupatorium Purple#BF58921.27:1Fail
Brick Red#A842221.14:1Fail
Spectrum Red#E31F261.13:1Fail

Palettes with Blue Violet

Shades and tints of Slate blue

Nine lightness steps in OKLCH that keep the hue of Slate blue. Chroma is reduced only where sRGB cannot show it.

:root {
  --slateblue-100: #F4F4FF;
  --slateblue-200: #E1E1FF;
  --slateblue-300: #C8C7FF;
  --slateblue-400: #AAA4FF;
  --slateblue-500: #8B7EF5;
  --slateblue-600: #6C5CCF;
  --slateblue-700: #513DAE;
  --slateblue-800: #391B8D;
  --slateblue-900: #220062;
}

Text that keeps Slate blue on screen

Text #6A5ACD on #F4F4FF reaches 4.86:1, which passes WCAG AA for body text. Check it on a dashboard

Similar CSS colours