Skip to content

#3c2f3f

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

RGB
60, 47, 63
HSL
289°, 15%, 22%
CMYK
5, 25, 0, 75
Luminance
0.0335

Every format

HEX#3c2f3f
RGBrgb(60, 47, 63)
HSLhsl(289, 15%, 22%)
CMYKcmyk(5%, 25%, 0%, 75%)
LABlab(21.4 9.4 -7.8)
LCHlch(21.4 12.2 320.2)
OKLCHoklch(0.326 0.033 319.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#3c2f3f on white: 12.57:1
AA ✓ pass · AA-large · AAA
Aa
#3c2f3f on black: 1.67:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red23.5%
Green18.4%
Blue24.7%

CMYK percentages

Cyan4.8%
Magenta25.4%
Yellow0.0%
Key (black)75.3%

Color previews

#3c2f3f text on a black background

contrast 1.67:1

Card sample

#3c2f3f text on a white background

contrast 12.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #3c2f3f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #3c2f3f in the Color Lab