#420B5B Color Information

Hex color code: #420B5B

#420B5B is a deep purple color. In RGB it is (66, 11, 91), and in HSL it is (281°, 78%, 20%). It is commonly used in modern UI design.

Try:
Color NameIndigo
HEX
#420B5B
RGB
66, 11, 91
HSL
281°, 78%, 20%
CMYK
27%, 88%, 0%, 64%

Shades

CSS Usage
color: #420B5B;
background-color: #420B5B;
border-color: #420B5B;
box-shadow: 0 0 10px #420B5B;
border: 2px solid #420B5B;
Tailwind Usage
bg-[#420B5B]
text-[#420B5B]
border-[#420B5B]
shadow-[0_0_10px_420B5B]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #420B5B, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #420B5B; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #420B5B; 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 #420B5B; background-color: #420B5B15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #420B5B20; border-left: 4px solid #420B5B; }

Link / Accent

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

a { color: #420B5B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #420B5B in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

66, 11, 91

Red: 66 / Green: 11 / Blue: 91

HSL

281°, 78%, 20%

Hue: 281° / Saturation: 78% / Lightness: 20%

CMYK

27%, 88%, 0%, 64%

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

What color is #420B5B?

#420B5B is a magenta-red hue associated with romance and playfulness.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #420B5B to RGB:

rgb(66, 11, 91)HEX to RGB Converter →

HEX to HSL

Convert #420B5B to HSL:

hsl(281, 78%, 20%)RGB to HSL Converter →

HEX to CMYK

Convert #420B5B to CMYK:

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

Color Meaning and Usage

A dramatic purple tone, #420B5B has RGB (66, 11, 91) and HSL (281°, 78%, 20%). Known for evoking romance and playfulness, this magenta-red hue is often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #420B5B is #245B0B, creating high-contrast pairings. For softer combinations, try analogous colors like #1A0B5B.

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

Contrast with #420B5B

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #420B5B?

#420B5B is a dramatic purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #420B5B?

#420B5B in RGB is (66, 11, 91) - 66 red, 11 green, and 91 blue.

How to use #420B5B in CSS?

Use #420B5B directly in your CSS properties like color or background-color.

What colors go well with #420B5B?

#245B0B (complementary), #1A0B5B (analogous), and #100317 (lighter shade) work well with #420B5B.