Skip to content

#3d2fdf

a balanced, vivid blue · warm · closest name: blue

RGB
61, 47, 223
HSL
245°, 73%, 53%
CMYK
73, 79, 0, 13
Luminance
0.0835

Every format

HEX#3d2fdf
RGBrgb(61, 47, 223)
HSLhsl(245, 73%, 53%)
CMYKcmyk(73%, 79%, 0%, 13%)
LABlab(34.7 59.0 -85.7)
LCHlch(34.7 104.0 304.6)
OKLCHoklch(0.463 0.248 274.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#3d2fdf on white: 7.86:1
AA ✓ pass · AA-large · AAA
Aa
#3d2fdf on black: 2.67:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red23.9%
Green18.4%
Blue87.5%

CMYK percentages

Cyan72.6%
Magenta78.9%
Yellow0.0%
Key (black)12.5%

Color previews

#3d2fdf text on a black background

contrast 2.67:1

Card sample

#3d2fdf text on a white background

contrast 7.86:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(61, 47, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(61, 47, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3d2fdf;
background: linear-gradient(135deg, #3d2fdf, #B22FDF);

Monochromatic scale

Palettes built from #3d2fdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #3d2fdf in the Color Lab