Skip to content

#6c64af

a balanced, soft blue · warm · closest name: slateblue

RGB
108, 100, 175
HSL
246°, 32%, 54%
CMYK
38, 43, 0, 31
Luminance
0.1540

Every format

HEX#6c64af
RGBrgb(108, 100, 175)
HSLhsl(246, 32%, 54%)
CMYKcmyk(38%, 43%, 0%, 31%)
LABlab(46.2 21.7 -39.0)
LCHlch(46.2 44.6 299.0)
OKLCHoklch(0.544 0.115 286.8)

Copy-ready code

/* CSS */
color: #6c64af;
background-color: #6c64af;
/* Tailwind (arbitrary) */
class="text-[#6c64af] bg-[#6c64af]"
/* SCSS */
$brand: #6c64af;
/* SwiftUI */
Color(red: 0.424, green: 0.392, blue: 0.686)
/* Android */
Color.parseColor("#6c64af")

Accessibility — WCAG contrast

Aa
#6c64af on white: 5.15:1
AA ✓ pass · AA-large · AAA
Aa
#6c64af on black: 4.08:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red42.4%
Green39.2%
Blue68.6%

CMYK percentages

Cyan38.3%
Magenta42.9%
Yellow0.0%
Key (black)31.4%

Color previews

#6c64af text on a black background

contrast 4.08:1

Card sample

#6c64af text on a white background

contrast 5.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #6c64af;
Background color
Panel with #6c64af background
background-color: #6c64af;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #6c64af;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(108, 100, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(108, 100, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #6c64af;
background: linear-gradient(135deg, #6c64af, #9E64AF);

Monochromatic scale

Palettes built from #6c64af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #6c64af in the Color Lab