Skip to content

#6b2cfd

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

RGB
107, 44, 253
HSL
258°, 98%, 58%
CMYK
58, 83, 0, 1
Luminance
0.1202

Every format

HEX#6b2cfd
RGBrgb(107, 44, 253)
HSLhsl(258, 98%, 58%)
CMYKcmyk(58%, 83%, 0%, 1%)
LABlab(41.2 72.3 -91.7)
LCHlch(41.2 116.8 308.2)
OKLCHoklch(0.527 0.275 285.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#6b2cfd on white: 6.17:1
AA ✓ pass · AA-large · AAA
Aa
#6b2cfd on black: 3.40:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red42.0%
Green17.3%
Blue99.2%

CMYK percentages

Cyan57.7%
Magenta82.6%
Yellow0.0%
Key (black)0.8%

Color previews

#6b2cfd text on a black background

contrast 3.40:1

Card sample

#6b2cfd text on a white background

contrast 6.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(107, 44, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(107, 44, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #6b2cfd;
background: linear-gradient(135deg, #6b2cfd, #F62CFD);

Monochromatic scale

Palettes built from #6b2cfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #6b2cfd in the Color Lab