Skip to content

#4100f5

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

RGB
65, 0, 245
HSL
256°, 100%, 48%
CMYK
74, 100, 0, 4
Luminance
0.0772

Every format

HEX#4100f5
RGBrgb(65, 0, 245)
HSLhsl(256, 100%, 48%)
CMYKcmyk(74%, 100%, 0%, 4%)
LABlab(33.4 77.7 -100.4)
LCHlch(33.4 126.9 307.8)
OKLCHoklch(0.462 0.291 275.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4100f5 on white: 8.26:1
AA ✓ pass · AA-large · AAA
Aa
#4100f5 on black: 2.54:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.5%
Green0.0%
Blue96.1%

CMYK percentages

Cyan73.5%
Magenta100.0%
Yellow0.0%
Key (black)3.9%

Color previews

#4100f5 text on a black background

contrast 2.54:1

Card sample

#4100f5 text on a white background

contrast 8.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #4100f5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4100f5 in the Color Lab