#4017BA Color Information

Hex color code: #4017BA

A dynamic purple shade, #4017BA appears as (64, 23, 186) in RGB and (255°, 78%, 41%) in HSL. It is typically applied in digital products.

Try:
Color NameRebecca Purple
HEX
#4017BA
RGB
64, 23, 186
HSL
255°, 78%, 41%
CMYK
66%, 88%, 0%, 27%

Shades

CSS Usage
color: #4017BA;
background-color: #4017BA;
border-color: #4017BA;
box-shadow: 0 0 10px #4017BA;
border: 2px solid #4017BA;
Tailwind Usage
bg-[#4017BA]
text-[#4017BA]
border-[#4017BA]
shadow-[0_0_10px_4017BA]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #4017BA, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #4017BA; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #4017BA; color: #FFFFFF; }

Text Highlight

The quick brown fox jumps over the lazy dog. highlighted text example shows how the color looks as a text highlight.

Card

Card Title

This card uses your color as a border accent.

.card-accent { border: 2px solid #4017BA; background-color: #4017BA15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #4017BA20; border-left: 4px solid #4017BA; }

Link / Accent

This is a paragraph with a link using your color. The color can be applied to interactive elements.

a { color: #4017BA; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #4017BA in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

64, 23, 186

Red: 64 / Green: 23 / Blue: 186

HSL

255°, 78%, 41%

Hue: 255° / Saturation: 78% / Lightness: 41%

CMYK

66%, 88%, 0%, 27%

Cyan: 66% / Magenta: 88% / Yellow: 0% / Key: 27%

What color is #4017BA?

#4017BA is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #4017BA to RGB:

rgb(64, 23, 186)HEX to RGB Converter →

HEX to HSL

Convert #4017BA to HSL:

hsl(255, 78%, 41%)RGB to HSL Converter →

HEX to CMYK

Convert #4017BA to CMYK:

cmyk(66%, 88%, 0%, 27%)Color Converter →

Color Meaning and Usage

#4017BA is a bold purple color with RGB values of 64, 23, 186 and HSL of 255°, 78%, 41%. This blue-purple hue evokes creativity and luxury, making it suitable for popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #4017BA is #91BA17, creating high-contrast pairings. For softer combinations, try analogous colors like #1740BA.

Use #4017BA in CSS: color: #4017BA or background-color: #4017BA. Create palettes with Color Palette Generator or check contrast with Contrast Checker.

Contrast with #4017BA

Sample text on this color - The quick brown fox jumps over the lazy dog.

Contrast Ratio: 2.05:1
WCAG AA: Fail
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #4017BA?

#4017BA is a bold purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #4017BA?

#4017BA in RGB is (64, 23, 186) - 64 red, 23 green, and 186 blue.

How to use #4017BA in CSS?

Use #4017BA directly in your CSS properties like color or background-color.

What colors go well with #4017BA?

#91BA17 (complementary), #1740BA (analogous), and #280F76 (lighter shade) work well with #4017BA.