Skip to content

#640bdf

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

RGB
100, 11, 223
HSL
265°, 91%, 46%
CMYK
55, 95, 0, 13
Luminance
0.0828

Every format

HEX#640bdf
RGBrgb(100, 11, 223)
HSLhsl(265, 91%, 46%)
CMYKcmyk(55%, 95%, 0%, 13%)
LABlab(34.5 72.9 -85.8)
LCHlch(34.5 112.6 310.3)
OKLCHoklch(0.470 0.262 289.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#640bdf on white: 7.91:1
AA ✓ pass · AA-large · AAA
Aa
#640bdf on black: 2.66:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red39.2%
Green4.3%
Blue87.5%

CMYK percentages

Cyan55.2%
Magenta95.1%
Yellow0.0%
Key (black)12.5%

Color previews

#640bdf text on a black background

contrast 2.66:1

Card sample

#640bdf text on a white background

contrast 7.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #640bdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #640bdf in the Color Lab