Skip to content

#532bc9

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

RGB
83, 43, 201
HSL
255°, 65%, 48%
CMYK
59, 79, 0, 21
Luminance
0.0778

Every format

HEX#532bc9
RGBrgb(83, 43, 201)
HSLhsl(255, 65%, 48%)
CMYKcmyk(59%, 79%, 0%, 21%)
LABlab(33.5 56.5 -74.8)
LCHlch(33.5 93.8 307.1)
OKLCHoklch(0.453 0.223 284.8)

Copy-ready code

/* CSS */
color: #532bc9;
background-color: #532bc9;
/* Tailwind (arbitrary) */
class="text-[#532bc9] bg-[#532bc9]"
/* SCSS */
$brand: #532bc9;
/* SwiftUI */
Color(red: 0.325, green: 0.169, blue: 0.788)
/* Android */
Color.parseColor("#532bc9")

Accessibility — WCAG contrast

Aa
#532bc9 on white: 8.21:1
AA ✓ pass · AA-large · AAA
Aa
#532bc9 on black: 2.56:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red32.5%
Green16.9%
Blue78.8%

CMYK percentages

Cyan58.7%
Magenta78.6%
Yellow0.0%
Key (black)21.2%

Color previews

#532bc9 text on a black background

contrast 2.56:1

Card sample

#532bc9 text on a white background

contrast 8.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #532bc9;
Background color
Panel with #532bc9 background
background-color: #532bc9;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #532bc9;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(83, 43, 201, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(83, 43, 201, 0.45);
Border & gradient
Gradient panel
border: 3px solid #532bc9;
background: linear-gradient(135deg, #532bc9, #BC2BC9);

Monochromatic scale

Palettes built from #532bc9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #532bc9 in the Color Lab