Skip to content

#4f10df

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

RGB
79, 16, 223
HSL
258°, 87%, 47%
CMYK
65, 93, 0, 13
Luminance
0.0736

Every format

HEX#4f10df
RGBrgb(79, 16, 223)
HSLhsl(258, 87%, 47%)
CMYKcmyk(65%, 93%, 0%, 13%)
LABlab(32.6 70.7 -89.1)
LCHlch(32.6 113.7 308.4)
OKLCHoklch(0.452 0.262 281.6)

Copy-ready code

/* CSS */
color: #4f10df;
background-color: #4f10df;
/* Tailwind (arbitrary) */
class="text-[#4f10df] bg-[#4f10df]"
/* SCSS */
$brand: #4f10df;
/* SwiftUI */
Color(red: 0.310, green: 0.063, blue: 0.875)
/* Android */
Color.parseColor("#4f10df")

Accessibility — WCAG contrast

Aa
#4f10df on white: 8.49:1
AA ✓ pass · AA-large · AAA
Aa
#4f10df on black: 2.47:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red31.0%
Green6.3%
Blue87.5%

CMYK percentages

Cyan64.6%
Magenta92.8%
Yellow0.0%
Key (black)12.5%

Color previews

#4f10df text on a black background

contrast 2.47:1

Card sample

#4f10df text on a white background

contrast 8.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #4f10df;
Background color
Panel with #4f10df background
background-color: #4f10df;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #4f10df;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(79, 16, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(79, 16, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4f10df;
background: linear-gradient(135deg, #4f10df, #D910DF);

Monochromatic scale

Palettes built from #4f10df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4f10df in the Color Lab