Skip to content
Kolorvia
#5104dc

Color #5104dc

A vivid, highly saturated medium purple.

Conversions

HEX
#5104dc
RGB
rgb(81, 4, 220)
HSL
hsl(261.4, 96.4%, 43.9%)
HSV / HSB
hsv(261.4, 98.2%, 86.3%)
CMYK
cmyk(63.2%, 98.2%, 0%, 13.7%)
LAB
lab(31.81, 71.99, -88.68)
LCH
lch(31.81, 114.22, 309.07)
OKLCH
oklch(44.6%, 0.2623, 283.09)
HWB
hwb(261.4, 1.6%, 13.7%)

Harmony colors

Complementary

#8fdc04

Analogous

#0423dc
#5104dc
#bd04dc

Triadic

#5104dc
#dc5104
#04dc51

Split-complementary

#5104dc
#dcbd04
#23dc04

Tetradic

#5104dc
#dc048f
#8fdc04
#04dc51

Square

#5104dc
#dc0423
#8fdc04
#04dcbd

Shades

Color #5104dc mixed toward black.

#4403b7
#360393
#29026e
#1b0149
#0e0125

Tints

Color #5104dc mixed toward white.

#6715fb
#8544fc
#a473fc
#c2a1fd
#e1d0fe

Tones

Color #5104dc mixed toward gray.

#5616ca
#5b28b8
#603aa6
#664c94
#6b5e82

Accessibility

Aa White text on this color
8.75:1
Aa Black text on this color
2.4:1

White text reads better on this background (8.75:1). That passes WCAG AAA (≥7:1) for normal-size text.

Under color vision deficiencies

Protanopia

#3d3dc3 · ΔE 8.3

Deuteranopia

#4044bc · ΔE 10.4

Tritanopia

#4faba5 · ΔE 49.7

Achromatopsia

#4b4b4b · ΔE 32

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #5104dc;
Tailwind (arbitrary value)
bg-[#5104dc]

Related colors

Medium Purple #9370db
Rebecca Purple #663399
Blue Violet #8a2be2
Dark Slate Blue #483d8b
Medium Slate Blue #7b68ee
Slate Blue #6a5acd

Frequently asked questions

#5104dc (#5104dc) is rgb(81, 4, 220) in RGB.

No, #5104dc is not web-safe. The nearest web-safe colors are among its tones and shades below.

Related tools

Build something with this color

Generate a full palette from #5104dc, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.