Skip to content

#591fdf

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

RGB
89, 31, 223
HSL
258°, 76%, 50%
CMYK
60, 86, 0, 13
Luminance
0.0843

Every format

HEX#591fdf
RGBrgb(89, 31, 223)
HSLhsl(258, 76%, 50%)
CMYKcmyk(60%, 86%, 0%, 13%)
LABlab(34.9 67.5 -85.3)
LCHlch(34.9 108.8 308.3)
OKLCHoklch(0.470 0.254 284.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#591fdf on white: 7.82:1
AA ✓ pass · AA-large · AAA
Aa
#591fdf on black: 2.69:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red34.9%
Green12.2%
Blue87.5%

CMYK percentages

Cyan60.1%
Magenta86.1%
Yellow0.0%
Key (black)12.5%

Color previews

#591fdf text on a black background

contrast 2.69:1

Card sample

#591fdf text on a white background

contrast 7.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #591fdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #591fdf in the Color Lab