Skip to content

#3e2fab

a dark, vivid blue · warm · closest name: indigo

RGB
62, 47, 171
HSL
247°, 57%, 43%
CMYK
64, 73, 0, 33
Luminance
0.0600

Every format

HEX#3e2fab
RGBrgb(62, 47, 171)
HSLhsl(247, 57%, 43%)
CMYKcmyk(64%, 73%, 0%, 33%)
LABlab(29.4 43.1 -63.9)
LCHlch(29.4 77.1 304.0)
OKLCHoklch(0.410 0.187 279.7)

Copy-ready code

/* CSS */
color: #3e2fab;
background-color: #3e2fab;
/* Tailwind (arbitrary) */
class="text-[#3e2fab] bg-[#3e2fab]"
/* SCSS */
$brand: #3e2fab;
/* SwiftUI */
Color(red: 0.243, green: 0.184, blue: 0.671)
/* Android */
Color.parseColor("#3e2fab")

Accessibility — WCAG contrast

Aa
#3e2fab on white: 9.55:1
AA ✓ pass · AA-large · AAA
Aa
#3e2fab on black: 2.20:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red24.3%
Green18.4%
Blue67.1%

CMYK percentages

Cyan63.7%
Magenta72.5%
Yellow0.0%
Key (black)32.9%

Color previews

#3e2fab text on a black background

contrast 2.20:1

Card sample

#3e2fab text on a white background

contrast 9.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #3e2fab;
Background color
Panel with #3e2fab background
background-color: #3e2fab;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #3e2fab;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(62, 47, 171, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(62, 47, 171, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3e2fab;
background: linear-gradient(135deg, #3e2fab, #912FAB);

Monochromatic scale

Palettes built from #3e2fab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #3e2fab in the Color Lab