Skip to content

#652cf3

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

RGB
101, 44, 243
HSL
257°, 89%, 56%
CMYK
58, 82, 0, 5
Luminance
0.1104

Every format

HEX#652cf3
RGBrgb(101, 44, 243)
HSLhsl(257, 89%, 56%)
CMYKcmyk(58%, 82%, 0%, 5%)
LABlab(39.6 69.2 -88.7)
LCHlch(39.6 112.5 307.9)
OKLCHoklch(0.511 0.265 285.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#652cf3 on white: 6.55:1
AA ✓ pass · AA-large · AAA
Aa
#652cf3 on black: 3.21:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red39.6%
Green17.3%
Blue95.3%

CMYK percentages

Cyan58.4%
Magenta81.9%
Yellow0.0%
Key (black)4.7%

Color previews

#652cf3 text on a black background

contrast 3.21:1

Card sample

#652cf3 text on a white background

contrast 6.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #652cf3;
Background color
Panel with #652cf3 background
background-color: #652cf3;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #652cf3;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(101, 44, 243, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(101, 44, 243, 0.45);
Border & gradient
Gradient panel
border: 3px solid #652cf3;
background: linear-gradient(135deg, #652cf3, #EA2CF3);

Monochromatic scale

Palettes built from #652cf3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #652cf3 in the Color Lab