#42297D Color Information

Hex color code: #42297D

A peaceful purple shade, #42297D appears as (66, 41, 125) in RGB and (258°, 51%, 33%) in HSL. It is typically applied in digital products.

Try:
Color NameDark Slate Blue
HEX
#42297D
RGB
66, 41, 125
HSL
258°, 51%, 33%
CMYK
47%, 67%, 0%, 51%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #42297D; 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 #42297D; background-color: #42297D15; }

Alert / Toast

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

Link / Accent

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

a { color: #42297D; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #42297D in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

66, 41, 125

Red: 66 / Green: 41 / Blue: 125

HSL

258°, 51%, 33%

Hue: 258° / Saturation: 51% / Lightness: 33%

CMYK

47%, 67%, 0%, 51%

Cyan: 47% / Magenta: 67% / Yellow: 0% / Key: 51%

What color is #42297D?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #42297D to RGB:

rgb(66, 41, 125)HEX to RGB Converter →

HEX to HSL

Convert #42297D to HSL:

hsl(258, 51%, 33%)RGB to HSL Converter →

HEX to CMYK

Convert #42297D to CMYK:

cmyk(47%, 67%, 0%, 51%)Color Converter →

Color Meaning and Usage

A serene purple tone, #42297D has RGB (66, 41, 125) and HSL (258°, 51%, 33%). Known for evoking creativity and luxury, this blue-purple hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #42297D is #657F29, creating high-contrast pairings. For softer combinations, try analogous colors like #293A7F.

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

Contrast with #42297D

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #42297D?

#42297D is a serene purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #42297D?

#42297D in RGB is (66, 41, 125) - 66 red, 41 green, and 125 blue.

How to use #42297D in CSS?

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

What colors go well with #42297D?

#657F29 (complementary), #293A7F (analogous), and #251645 (lighter shade) work well with #42297D.