Skip to content

#3d2f49

a deep, soft violet · warm · closest name: darkslategray

RGB
61, 47, 73
HSL
272°, 22%, 24%
CMYK
16, 36, 0, 71
Luminance
0.0351

Every format

HEX#3d2f49
RGBrgb(61, 47, 73)
HSLhsl(272, 22%, 24%)
CMYKcmyk(16%, 36%, 0%, 71%)
LABlab(22.0 12.3 -13.7)
LCHlch(22.0 18.4 311.9)
OKLCHoklch(0.332 0.048 308.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#3d2f49 on white: 12.34:1
AA ✓ pass · AA-large · AAA
Aa
#3d2f49 on black: 1.70:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red23.9%
Green18.4%
Blue28.6%

CMYK percentages

Cyan16.4%
Magenta35.6%
Yellow0.0%
Key (black)71.4%

Color previews

#3d2f49 text on a black background

contrast 1.70:1

Card sample

#3d2f49 text on a white background

contrast 12.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #3d2f49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #3d2f49 in the Color Lab