Skip to content

#9b2c76

a dark, vivid magenta / pink · warm · closest name: purple

RGB
155, 44, 118
HSL
320°, 56%, 39%
CMYK
0, 72, 24, 39
Luminance
0.1008

Every format

HEX#9b2c76
RGBrgb(155, 44, 118)
HSLhsl(320, 56%, 39%)
CMYKcmyk(0%, 72%, 24%, 39%)
LABlab(38.0 52.8 -17.0)
LCHlch(38.0 55.4 342.2)
OKLCHoklch(0.487 0.166 344.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9b2c76 on white: 6.96:1
AA ✓ pass · AA-large · AAA
Aa
#9b2c76 on black: 3.02:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red60.8%
Green17.3%
Blue46.3%

CMYK percentages

Cyan0.0%
Magenta71.6%
Yellow23.9%
Key (black)39.2%

Color previews

#9b2c76 text on a black background

contrast 3.02:1

Card sample

#9b2c76 text on a white background

contrast 6.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(155, 44, 118, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(155, 44, 118, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9b2c76;
background: linear-gradient(135deg, #9b2c76, #9B2C2C);

Monochromatic scale

Palettes built from #9b2c76

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9b2c76 in the Color Lab