Skip to content

#591afd

a balanced, electric violet · warm · closest name: blue

RGB
89, 26, 253
HSL
257°, 98%, 55%
CMYK
65, 90, 0, 1
Luminance
0.0995

Every format

HEX#591afd
RGBrgb(89, 26, 253)
HSLhsl(257, 98%, 55%)
CMYKcmyk(65%, 90%, 0%, 1%)
LABlab(37.8 76.3 -97.5)
LCHlch(37.8 123.8 308.0)
OKLCHoklch(0.499 0.286 280.9)

Copy-ready code

/* CSS */
color: #591afd;
background-color: #591afd;
/* Tailwind (arbitrary) */
class="text-[#591afd] bg-[#591afd]"
/* SCSS */
$brand: #591afd;
/* SwiftUI */
Color(red: 0.349, green: 0.102, blue: 0.992)
/* Android */
Color.parseColor("#591afd")

Accessibility — WCAG contrast

Aa
#591afd on white: 7.02:1
AA ✓ pass · AA-large · AAA
Aa
#591afd on black: 2.99:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red34.9%
Green10.2%
Blue99.2%

CMYK percentages

Cyan64.8%
Magenta89.7%
Yellow0.0%
Key (black)0.8%

Color previews

#591afd text on a black background

contrast 2.99:1

Card sample

#591afd text on a white background

contrast 7.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #591afd;
Background color
Panel with #591afd background
background-color: #591afd;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #591afd;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(89, 26, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(89, 26, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #591afd;
background: linear-gradient(135deg, #591afd, #F11AFD);

Monochromatic scale

Palettes built from #591afd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #591afd in the Color Lab