Skip to content

#4b3f64

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

RGB
75, 63, 100
HSL
260°, 23%, 32%
CMYK
25, 37, 0, 61
Luminance
0.0597

Every format

HEX#4b3f64
RGBrgb(75, 63, 100)
HSLhsl(260, 23%, 32%)
CMYKcmyk(25%, 37%, 0%, 61%)
LABlab(29.3 13.9 -19.9)
LCHlch(29.3 24.3 305.0)
OKLCHoklch(0.396 0.063 298.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4b3f64 on white: 9.57:1
AA ✓ pass · AA-large · AAA
Aa
#4b3f64 on black: 2.19:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red29.4%
Green24.7%
Blue39.2%

CMYK percentages

Cyan25.0%
Magenta37.0%
Yellow0.0%
Key (black)60.8%

Color previews

#4b3f64 text on a black background

contrast 2.19:1

Card sample

#4b3f64 text on a white background

contrast 9.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(75, 63, 100, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(75, 63, 100, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4b3f64;
background: linear-gradient(135deg, #4b3f64, #643F64);

Monochromatic scale

Palettes built from #4b3f64

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4b3f64 in the Color Lab