Skip to content

#4100f8

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

RGB
65, 0, 248
HSL
256°, 100%, 49%
CMYK
74, 100, 0, 3
Luminance
0.0790

Every format

HEX#4100f8
RGBrgb(65, 0, 248)
HSLhsl(256, 100%, 49%)
CMYKcmyk(74%, 100%, 0%, 3%)
LABlab(33.8 78.4 -101.4)
LCHlch(33.8 128.2 307.7)
OKLCHoklch(0.466 0.293 274.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4100f8 on white: 8.14:1
AA ✓ pass · AA-large · AAA
Aa
#4100f8 on black: 2.58:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.5%
Green0.0%
Blue97.3%

CMYK percentages

Cyan73.8%
Magenta100.0%
Yellow0.0%
Key (black)2.7%

Color previews

#4100f8 text on a black background

contrast 2.58:1

Card sample

#4100f8 text on a white background

contrast 8.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #4100f8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4100f8 in the Color Lab