Skip to content

#4100fc

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

RGB
65, 0, 252
HSL
256°, 100%, 49%
CMYK
74, 100, 0, 1
Luminance
0.0815

Every format

HEX#4100fc
RGBrgb(65, 0, 252)
HSLhsl(256, 100%, 49%)
CMYKcmyk(74%, 100%, 0%, 1%)
LABlab(34.3 79.3 -102.8)
LCHlch(34.3 129.8 307.7)
OKLCHoklch(0.471 0.297 274.4)

Copy-ready code

/* CSS */
color: #4100fc;
background-color: #4100fc;
/* Tailwind (arbitrary) */
class="text-[#4100fc] bg-[#4100fc]"
/* SCSS */
$brand: #4100fc;
/* SwiftUI */
Color(red: 0.255, green: 0.000, blue: 0.988)
/* Android */
Color.parseColor("#4100fc")

Accessibility — WCAG contrast

Aa
#4100fc on white: 7.98:1
AA ✓ pass · AA-large · AAA
Aa
#4100fc on black: 2.63:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.5%
Green0.0%
Blue98.8%

CMYK percentages

Cyan74.2%
Magenta100.0%
Yellow0.0%
Key (black)1.2%

Color previews

#4100fc text on a black background

contrast 2.63:1

Card sample

#4100fc text on a white background

contrast 7.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #4100fc;
Background color
Panel with #4100fc background
background-color: #4100fc;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #4100fc;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(65, 0, 252, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(65, 0, 252, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4100fc;
background: linear-gradient(135deg, #4100fc, #E900FC);

Monochromatic scale

Palettes built from #4100fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4100fc in the Color Lab