#422862 Color Information

Hex color code: #422862

The hex color #422862 is a gentle purple with RGB values of (66, 40, 98) and HSL of (267°, 42%, 27%). It is frequently seen in web interfaces.

Try:
Color NameDark Slate Blue
HEX
#422862
RGB
66, 40, 98
HSL
267°, 42%, 27%
CMYK
33%, 59%, 0%, 62%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #422862; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

66, 40, 98

Red: 66 / Green: 40 / Blue: 98

HSL

267°, 42%, 27%

Hue: 267° / Saturation: 42% / Lightness: 27%

CMYK

33%, 59%, 0%, 62%

Cyan: 33% / Magenta: 59% / Yellow: 0% / Key: 62%

What color is #422862?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #422862 to RGB:

rgb(66, 40, 98)HEX to RGB Converter →

HEX to HSL

Convert #422862 to HSL:

hsl(267, 42%, 27%)RGB to HSL Converter →

HEX to CMYK

Convert #422862 to CMYK:

cmyk(33%, 59%, 0%, 62%)Color Converter →

Color Meaning and Usage

#422862 is a pastel purple color with RGB values of 66, 40, 98 and HSL of 267°, 42%, 27%. This blue-purple hue evokes creativity and luxury, making it suitable for frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #422862 is #486228, creating high-contrast pairings. For softer combinations, try analogous colors like #282B62.

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

Contrast with #422862

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #422862?

#422862 is a pastel purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #422862?

#422862 in RGB is (66, 40, 98) - 66 red, 40 green, and 98 blue.

How to use #422862 in CSS?

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

What colors go well with #422862?

#486228 (complementary), #282B62 (analogous), and #1D122B (lighter shade) work well with #422862.