Skip to content

#5d0df0

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

RGB
93, 13, 240
HSL
261°, 90%, 50%
CMYK
61, 95, 0, 6
Luminance
0.0891

Every format

HEX#5d0df0
RGBrgb(93, 13, 240)
HSLhsl(261, 90%, 50%)
CMYKcmyk(61%, 95%, 0%, 6%)
LABlab(35.8 76.0 -93.4)
LCHlch(35.8 120.5 309.1)
OKLCHoklch(0.483 0.278 284.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#5d0df0 on white: 7.55:1
AA ✓ pass · AA-large · AAA
Aa
#5d0df0 on black: 2.78:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red36.5%
Green5.1%
Blue94.1%

CMYK percentages

Cyan61.2%
Magenta94.6%
Yellow0.0%
Key (black)5.9%

Color previews

#5d0df0 text on a black background

contrast 2.78:1

Card sample

#5d0df0 text on a white background

contrast 7.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(93, 13, 240, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(93, 13, 240, 0.45);
Border & gradient
Gradient panel
border: 3px solid #5d0df0;
background: linear-gradient(135deg, #5d0df0, #F00DEC);

Monochromatic scale

Palettes built from #5d0df0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #5d0df0 in the Color Lab