Skip to content

#4100ff

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

RGB
65, 0, 255
HSL
255°, 100%, 50%
CMYK
75, 100, 0, 0
Luminance
0.0834

Every format

HEX#4100ff
RGBrgb(65, 0, 255)
HSLhsl(255, 100%, 50%)
CMYKcmyk(75%, 100%, 0%, 0%)
LABlab(34.7 80.0 -103.8)
LCHlch(34.7 131.1 307.6)
OKLCHoklch(0.474 0.300 274.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4100ff on white: 7.87:1
AA ✓ pass · AA-large · AAA
Aa
#4100ff on black: 2.67:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.5%
Green0.0%
Blue100.0%

CMYK percentages

Cyan74.5%
Magenta100.0%
Yellow0.0%
Key (black)0.0%

Color previews

#4100ff text on a black background

contrast 2.67:1

Card sample

#4100ff text on a white background

contrast 7.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #4100ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4100ff in the Color Lab