Skip to content

#4100f4

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

RGB
65, 0, 244
HSL
256°, 100%, 48%
CMYK
73, 100, 0, 4
Luminance
0.0766

Every format

HEX#4100f4
RGBrgb(65, 0, 244)
HSLhsl(256, 100%, 48%)
CMYKcmyk(73%, 100%, 0%, 4%)
LABlab(33.3 77.5 -100.0)
LCHlch(33.3 126.5 307.8)
OKLCHoklch(0.461 0.290 275.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4100f4 on white: 8.30:1
AA ✓ pass · AA-large · AAA
Aa
#4100f4 on black: 2.53:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.5%
Green0.0%
Blue95.7%

CMYK percentages

Cyan73.4%
Magenta100.0%
Yellow0.0%
Key (black)4.3%

Color previews

#4100f4 text on a black background

contrast 2.53:1

Card sample

#4100f4 text on a white background

contrast 8.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #4100f4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4100f4 in the Color Lab