Skip to content

#640eee

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

RGB
100, 14, 238
HSL
263°, 89%, 49%
CMYK
58, 94, 0, 7
Luminance
0.0920

Every format

HEX#640eee
RGBrgb(100, 14, 238)
HSLhsl(263, 89%, 49%)
CMYKcmyk(58%, 94%, 0%, 7%)
LABlab(36.4 75.8 -91.4)
LCHlch(36.4 118.7 309.7)
OKLCHoklch(0.487 0.275 287.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#640eee on white: 7.40:1
AA ✓ pass · AA-large · AAA
Aa
#640eee on black: 2.84:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red39.2%
Green5.5%
Blue93.3%

CMYK percentages

Cyan58.0%
Magenta94.1%
Yellow0.0%
Key (black)6.7%

Color previews

#640eee text on a black background

contrast 2.84:1

Card sample

#640eee text on a white background

contrast 7.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #640eee;
Background color
Panel with #640eee background
background-color: #640eee;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #640eee;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(100, 14, 238, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(100, 14, 238, 0.45);
Border & gradient
Gradient panel
border: 3px solid #640eee;
background: linear-gradient(135deg, #640eee, #EE0EE3);

Monochromatic scale

Palettes built from #640eee

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #640eee in the Color Lab