Skip to content

#291729

a deep, soft magenta / pink · warm · closest name: black

RGB
41, 23, 41
HSL
300°, 28%, 13%
CMYK
0, 44, 0, 84
Luminance
0.0124

Every format

HEX#291729
RGBrgb(41, 23, 41)
HSLhsl(300, 28%, 13%)
CMYKcmyk(0%, 44%, 0%, 84%)
LABlab(10.9 12.8 -8.6)
LCHlch(10.9 15.4 326.3)
OKLCHoklch(0.237 0.043 326.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#291729 on white: 16.82:1
AA ✓ pass · AA-large · AAA
Aa
#291729 on black: 1.25:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.1%
Green9.0%
Blue16.1%

CMYK percentages

Cyan0.0%
Magenta43.9%
Yellow0.0%
Key (black)83.9%

Color previews

#291729 text on a black background

contrast 1.25:1

Card sample

#291729 text on a white background

contrast 16.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(41, 23, 41, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(41, 23, 41, 0.45);
Border & gradient
Gradient panel
border: 3px solid #291729;
background: linear-gradient(135deg, #291729, #29171D);

Monochromatic scale

Palettes built from #291729

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #291729 in the Color Lab