Skip to content

#6401df

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

RGB
100, 1, 223
HSL
267°, 99%, 44%
CMYK
55, 100, 0, 13
Luminance
0.0806

Every format

HEX#6401df
RGBrgb(100, 1, 223)
HSLhsl(267, 99%, 44%)
CMYKcmyk(55%, 100%, 0%, 13%)
LABlab(34.1 74.2 -86.5)
LCHlch(34.1 114.0 310.6)
OKLCHoklch(0.468 0.264 289.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#6401df on white: 8.04:1
AA ✓ pass · AA-large · AAA
Aa
#6401df on black: 2.61:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red39.2%
Green0.4%
Blue87.5%

CMYK percentages

Cyan55.2%
Magenta99.6%
Yellow0.0%
Key (black)12.5%

Color previews

#6401df text on a black background

contrast 2.61:1

Card sample

#6401df text on a white background

contrast 8.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #6401df;
Background color
Panel with #6401df background
background-color: #6401df;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #6401df;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(100, 1, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(100, 1, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #6401df;
background: linear-gradient(135deg, #6401df, #DF01C6);

Monochromatic scale

Palettes built from #6401df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #6401df in the Color Lab