Skip to content

#6c3ef1

a balanced, electric violet · warm · closest name: blue

RGB
108, 62, 241
HSL
255°, 87%, 59%
CMYK
55, 74, 0, 6
Luminance
0.1298

Every format

HEX#6c3ef1
RGBrgb(108, 62, 241)
HSLhsl(255, 87%, 59%)
CMYKcmyk(55%, 74%, 0%, 6%)
LABlab(42.7 61.9 -82.5)
LCHlch(42.7 103.1 306.9)
OKLCHoklch(0.534 0.247 286.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#6c3ef1 on white: 5.84:1
AA ✓ pass · AA-large · AAA
Aa
#6c3ef1 on black: 3.60:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red42.4%
Green24.3%
Blue94.5%

CMYK percentages

Cyan55.2%
Magenta74.3%
Yellow0.0%
Key (black)5.5%

Color previews

#6c3ef1 text on a black background

contrast 3.60:1

Card sample

#6c3ef1 text on a white background

contrast 5.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(108, 62, 241, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(108, 62, 241, 0.45);
Border & gradient
Gradient panel
border: 3px solid #6c3ef1;
background: linear-gradient(135deg, #6c3ef1, #E33EF1);

Monochromatic scale

Palettes built from #6c3ef1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #6c3ef1 in the Color Lab