Skip to content

#3b2f3f

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

RGB
59, 47, 63
HSL
285°, 15%, 22%
CMYK
6, 25, 0, 75
Luminance
0.0332

Every format

HEX#3b2f3f
RGBrgb(59, 47, 63)
HSLhsl(285, 15%, 22%)
CMYKcmyk(6%, 25%, 0%, 75%)
LABlab(21.3 9.0 -8.0)
LCHlch(21.3 12.1 318.3)
OKLCHoklch(0.325 0.032 317.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#3b2f3f on white: 12.62:1
AA ✓ pass · AA-large · AAA
Aa
#3b2f3f on black: 1.66:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red23.1%
Green18.4%
Blue24.7%

CMYK percentages

Cyan6.3%
Magenta25.4%
Yellow0.0%
Key (black)75.3%

Color previews

#3b2f3f text on a black background

contrast 1.66:1

Card sample

#3b2f3f text on a white background

contrast 12.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #3b2f3f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #3b2f3f in the Color Lab