Skip to content

#6c3dfb

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

RGB
108, 61, 251
HSL
255°, 96%, 61%
CMYK
57, 76, 0, 2
Luminance
0.1349

Every format

HEX#6c3dfb
RGBrgb(108, 61, 251)
HSLhsl(255, 96%, 61%)
CMYKcmyk(57%, 76%, 0%, 2%)
LABlab(43.5 65.0 -86.9)
LCHlch(43.5 108.5 306.8)
OKLCHoklch(0.542 0.259 285.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#6c3dfb on white: 5.68:1
AA ✓ pass · AA-large · AAA
Aa
#6c3dfb on black: 3.70:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red42.4%
Green23.9%
Blue98.4%

CMYK percentages

Cyan57.0%
Magenta75.7%
Yellow0.0%
Key (black)1.6%

Color previews

#6c3dfb text on a black background

contrast 3.70:1

Card sample

#6c3dfb text on a white background

contrast 5.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #6c3dfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #6c3dfb in the Color Lab