#420854 Color Information

Hex color code: #420854

#420854 is a rich magenta color. In RGB it is (66, 8, 84), and in HSL it is (286°, 83%, 18%). It is popular in mobile app design.

Try:
Color NameIndigo
HEX
#420854
RGB
66, 8, 84
HSL
286°, 83%, 18%
CMYK
21%, 90%, 0%, 67%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #420854; 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 #420854; background-color: #42085415; }

Alert / Toast

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

Link / Accent

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

a { color: #420854; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #420854 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

66, 8, 84

Red: 66 / Green: 8 / Blue: 84

HSL

286°, 83%, 18%

Hue: 286° / Saturation: 83% / Lightness: 18%

CMYK

21%, 90%, 0%, 67%

Cyan: 21% / Magenta: 90% / Yellow: 0% / Key: 67%

What color is #420854?

#420854 is a very dark shade associated with sophistication and elegance.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #420854 to RGB:

rgb(66, 8, 84)HEX to RGB Converter →

HEX to HSL

Convert #420854 to HSL:

hsl(286, 83%, 18%)RGB to HSL Converter →

HEX to CMYK

Convert #420854 to CMYK:

cmyk(21%, 90%, 0%, 67%)Color Converter →

Color Meaning and Usage

A dark magenta tone, #420854 has RGB (66, 8, 84) and HSL (286°, 83%, 18%). Known for evoking sophistication and elegance, this very dark shade is popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #420854 is #1A5408, creating high-contrast pairings. For softer combinations, try analogous colors like #1C0854.

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

Contrast with #420854

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #420854?

#420854 is a dark magenta color - a very dark shade that evokes sophistication and elegance.

What is the RGB value of #420854?

#420854 in RGB is (66, 8, 84) - 66 red, 8 green, and 84 blue.

How to use #420854 in CSS?

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

What colors go well with #420854?

#1A5408 (complementary), #1C0854 (analogous), and #0B010E (lighter shade) work well with #420854.