Skip to content

#210f29

a deep, vivid violet · warm · closest name: black

RGB
33, 15, 41
HSL
282°, 46%, 11%
CMYK
20, 63, 0, 84
Luminance
0.0083

Every format

HEX#210f29
RGBrgb(33, 15, 41)
HSLhsl(282, 46%, 11%)
CMYKcmyk(20%, 63%, 0%, 84%)
LABlab(7.5 15.3 -14.0)
LCHlch(7.5 20.7 317.5)
OKLCHoklch(0.208 0.055 314.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#210f29 on white: 18.03:1
AA ✓ pass · AA-large · AAA
Aa
#210f29 on black: 1.17:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red12.9%
Green5.9%
Blue16.1%

CMYK percentages

Cyan19.5%
Magenta63.4%
Yellow0.0%
Key (black)83.9%

Color previews

#210f29 text on a black background

contrast 1.17:1

Card sample

#210f29 text on a white background

contrast 18.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(33, 15, 41, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(33, 15, 41, 0.45);
Border & gradient
Gradient panel
border: 3px solid #210f29;
background: linear-gradient(135deg, #210f29, #290F20);

Monochromatic scale

Palettes built from #210f29

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #210f29 in the Color Lab