#4B0742 Color Information

Hex color code: #4B0742

A deep magenta shade, #4B0742 appears as (75, 7, 66) in RGB and (308°, 83%, 16%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameIndigo
HEX
#4B0742
RGB
75, 7, 66
HSL
308°, 83%, 16%
CMYK
0%, 91%, 12%, 71%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #4B0742; 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 #4B0742; background-color: #4B074215; }

Alert / Toast

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

Link / Accent

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

a { color: #4B0742; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #4B0742 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

75, 7, 66

Red: 75 / Green: 7 / Blue: 66

HSL

308°, 83%, 16%

Hue: 308° / Saturation: 83% / Lightness: 16%

CMYK

0%, 91%, 12%, 71%

Cyan: 0% / Magenta: 91% / Yellow: 12% / Key: 71%

What color is #4B0742?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #4B0742 to RGB:

rgb(75, 7, 66)HEX to RGB Converter →

HEX to HSL

Convert #4B0742 to HSL:

hsl(308, 83%, 16%)RGB to HSL Converter →

HEX to CMYK

Convert #4B0742 to CMYK:

cmyk(0%, 91%, 12%, 71%)Color Converter →

Color Meaning and Usage

A intense magenta tone, #4B0742 has RGB (75, 7, 66) and HSL (308°, 83%, 16%). Known for evoking sophistication and elegance, this very dark shade is typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #4B0742 is #074B10, creating high-contrast pairings. For softer combinations, try analogous colors like #32074B.

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

Contrast with #4B0742

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #4B0742?

#4B0742 is a intense magenta color - a very dark shade that evokes sophistication and elegance.

What is the RGB value of #4B0742?

#4B0742 in RGB is (75, 7, 66) - 75 red, 7 green, and 66 blue.

How to use #4B0742 in CSS?

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

What colors go well with #4B0742?

#074B10 (complementary), #32074B (analogous), and #050004 (lighter shade) work well with #4B0742.