Skip to content

#911fc2

a dark, vivid violet · warm · closest name: indigo

RGB
145, 31, 194
HSL
282°, 72%, 44%
CMYK
25, 84, 0, 24
Luminance
0.1089

Every format

HEX#911fc2
RGBrgb(145, 31, 194)
HSLhsl(282, 72%, 44%)
CMYKcmyk(25%, 84%, 0%, 24%)
LABlab(39.4 67.7 -60.8)
LCHlch(39.4 91.0 318.1)
OKLCHoklch(0.508 0.233 312.3)

Copy-ready code

/* CSS */
color: #911fc2;
background-color: #911fc2;
/* Tailwind (arbitrary) */
class="text-[#911fc2] bg-[#911fc2]"
/* SCSS */
$brand: #911fc2;
/* SwiftUI */
Color(red: 0.569, green: 0.122, blue: 0.761)
/* Android */
Color.parseColor("#911fc2")

Accessibility — WCAG contrast

Aa
#911fc2 on white: 6.61:1
AA ✓ pass · AA-large · AAA
Aa
#911fc2 on black: 3.18:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red56.9%
Green12.2%
Blue76.1%

CMYK percentages

Cyan25.3%
Magenta84.0%
Yellow0.0%
Key (black)23.9%

Color previews

#911fc2 text on a black background

contrast 3.18:1

Card sample

#911fc2 text on a white background

contrast 6.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #911fc2;
Background color
Panel with #911fc2 background
background-color: #911fc2;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #911fc2;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(145, 31, 194, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(145, 31, 194, 0.45);
Border & gradient
Gradient panel
border: 3px solid #911fc2;
background: linear-gradient(135deg, #911fc2, #C21F86);

Monochromatic scale

Palettes built from #911fc2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #911fc2 in the Color Lab