Skip to content

#4500fc

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

RGB
69, 0, 252
HSL
256°, 100%, 49%
CMYK
73, 100, 0, 1
Luminance
0.0829

Every format

HEX#4500fc
RGBrgb(69, 0, 252)
HSLhsl(256, 100%, 49%)
CMYKcmyk(73%, 100%, 0%, 1%)
LABlab(34.6 79.5 -102.3)
LCHlch(34.6 129.5 307.8)
OKLCHoklch(0.473 0.296 275.5)

Copy-ready code

/* CSS */
color: #4500fc;
background-color: #4500fc;
/* Tailwind (arbitrary) */
class="text-[#4500fc] bg-[#4500fc]"
/* SCSS */
$brand: #4500fc;
/* SwiftUI */
Color(red: 0.271, green: 0.000, blue: 0.988)
/* Android */
Color.parseColor("#4500fc")

Accessibility — WCAG contrast

Aa
#4500fc on white: 7.90:1
AA ✓ pass · AA-large · AAA
Aa
#4500fc on black: 2.66:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red27.1%
Green0.0%
Blue98.8%

CMYK percentages

Cyan72.6%
Magenta100.0%
Yellow0.0%
Key (black)1.2%

Color previews

#4500fc text on a black background

contrast 2.66:1

Card sample

#4500fc text on a white background

contrast 7.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #4500fc;
Background color
Panel with #4500fc background
background-color: #4500fc;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #4500fc;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(69, 0, 252, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(69, 0, 252, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4500fc;
background: linear-gradient(135deg, #4500fc, #ED00FC);

Monochromatic scale

Palettes built from #4500fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4500fc in the Color Lab