Toolman

#5020DF color

#5020DF#5020DF

#5020DF is a medium, vivid violet, closest to the CSS named color rebeccapurple (#663399).

Color values

HEX#5020DF
RGBrgb(80, 32, 223)
HSLhsl(255, 75%, 50%)
CMYKcmyk(64%, 86%, 0%, 13%)
Decimal5251295
CSScolor: #5020DF;
Android0xFF5020DF
SwiftUIColor(red: 0.314, green: 0.125, blue: 0.875, alpha: 1)

Accessibility and contrast

White text on #5020DF8.04:1 — AA pass · AA large pass · AAA pass
Black text on #5020DF2.61:1 — AA fail · AA large fail · AAA fail
Recommended text colorwhite

WCAG 2.1 asks for at least 4.5:1 for body text and 3:1 for large text (18 pt, or 14 pt bold).

Tints and shades of #5020DF

Each swatch keeps the hue and saturation of #5020DF and varies only lightness — the quickest way to build a usable scale from a single brand color.

95%
85%
75%
65%
55%
45%
35%
25%
15%

Colors that go with #5020DF

Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.

Complementary
Triadic +120°
Triadic +240°
Analogous −30°
Analogous +30°
Split −150°
Split +150°

Using #5020DF in code

/* CSS */
.element { color: #5020DF; background-color: #5020DF; }
.element { color: rgb(80 32 223); }
.element { color: hsl(255 75% 50%); }

/* Tailwind arbitrary value */
<div class="bg-[#5020DF] text-white">

/* SCSS variable */
$brand: #5020DF;

Frequently asked questions

What color is #5020DF?

#5020DF is a medium, vivid violet. Its hue sits at 255° on the color wheel, with 75% saturation and 50% lightness.

What is #5020DF in RGB?

#5020DF converts to rgb(80, 32, 223) — 80 red, 32 green and 223 blue.

What is #5020DF in CMYK?

Approximately cmyk(64%, 86%, 0%, 13%). Print output depends on the ICC profile of the press and paper, so treat this as a starting point rather than an exact match.

Should text on #5020DF be white or black?

White gives the better contrast ratio (8.04:1 versus 2.61:1).

What is the complementary color of #5020DF?

#AFDF20 — the hue directly opposite #5020DF on the color wheel.

Convert any color → · Browse all colors