Skip to content

#4100fd

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

RGB
65, 0, 253
HSL
255°, 100%, 50%
CMYK
74, 100, 0, 1
Luminance
0.0822

Every format

HEX#4100fd
RGBrgb(65, 0, 253)
HSLhsl(255, 100%, 50%)
CMYKcmyk(74%, 100%, 0%, 1%)
LABlab(34.4 79.6 -103.1)
LCHlch(34.4 130.3 307.7)
OKLCHoklch(0.472 0.298 274.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4100fd on white: 7.95:1
AA ✓ pass · AA-large · AAA
Aa
#4100fd on black: 2.64:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.5%
Green0.0%
Blue99.2%

CMYK percentages

Cyan74.3%
Magenta100.0%
Yellow0.0%
Key (black)0.8%

Color previews

#4100fd text on a black background

contrast 2.64:1

Card sample

#4100fd text on a white background

contrast 7.95:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #4100fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4100fd in the Color Lab