Skip to content

#6541ff

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

RGB
101, 65, 255
HSL
251°, 100%, 63%
CMYK
60, 75, 0, 0
Luminance
0.1377

Every format

HEX#6541ff
RGBrgb(101, 65, 255)
HSLhsl(251, 100%, 63%)
CMYKcmyk(60%, 75%, 0%, 0%)
LABlab(43.9 63.5 -88.5)
LCHlch(43.9 108.9 305.7)
OKLCHoklch(0.544 0.261 282.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#6541ff on white: 5.59:1
AA ✓ pass · AA-large · AAA
Aa
#6541ff on black: 3.75:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red39.6%
Green25.5%
Blue100.0%

CMYK percentages

Cyan60.4%
Magenta74.5%
Yellow0.0%
Key (black)0.0%

Color previews

#6541ff text on a black background

contrast 3.75:1

Card sample

#6541ff text on a white background

contrast 5.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #6541ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #6541ff in the Color Lab