Skip to content

#5e2dbf

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

RGB
94, 45, 191
HSL
260°, 62%, 46%
CMYK
51, 76, 0, 25
Luminance
0.0802

Every format

HEX#5e2dbf
RGBrgb(94, 45, 191)
HSLhsl(260, 62%, 46%)
CMYKcmyk(51%, 76%, 0%, 25%)
LABlab(34.0 54.3 -68.1)
LCHlch(34.0 87.1 308.6)
OKLCHoklch(0.456 0.209 290.9)

Copy-ready code

/* CSS */
color: #5e2dbf;
background-color: #5e2dbf;
/* Tailwind (arbitrary) */
class="text-[#5e2dbf] bg-[#5e2dbf]"
/* SCSS */
$brand: #5e2dbf;
/* SwiftUI */
Color(red: 0.369, green: 0.176, blue: 0.749)
/* Android */
Color.parseColor("#5e2dbf")

Accessibility — WCAG contrast

Aa
#5e2dbf on white: 8.07:1
AA ✓ pass · AA-large · AAA
Aa
#5e2dbf on black: 2.60:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red36.9%
Green17.6%
Blue74.9%

CMYK percentages

Cyan50.8%
Magenta76.4%
Yellow0.0%
Key (black)25.1%

Color previews

#5e2dbf text on a black background

contrast 2.60:1

Card sample

#5e2dbf text on a white background

contrast 8.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #5e2dbf;
Background color
Panel with #5e2dbf background
background-color: #5e2dbf;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #5e2dbf;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(94, 45, 191, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(94, 45, 191, 0.45);
Border & gradient
Gradient panel
border: 3px solid #5e2dbf;
background: linear-gradient(135deg, #5e2dbf, #BF2DBF);

Monochromatic scale

Palettes built from #5e2dbf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #5e2dbf in the Color Lab