#4D246B Color Information

Hex color code: #4D246B

#4D246B is a muted purple color. In RGB it is (77, 36, 107), and in HSL it is (275°, 50%, 28%). It is typically applied in digital products.

Try:
Color NameDark Slate Blue
HEX
#4D246B
RGB
77, 36, 107
HSL
275°, 50%, 28%
CMYK
28%, 66%, 0%, 58%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #4D246B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

77, 36, 107

Red: 77 / Green: 36 / Blue: 107

HSL

275°, 50%, 28%

Hue: 275° / Saturation: 50% / Lightness: 28%

CMYK

28%, 66%, 0%, 58%

Cyan: 28% / Magenta: 66% / Yellow: 0% / Key: 58%

What color is #4D246B?

#4D246B is a magenta-red hue associated with romance and playfulness.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #4D246B to RGB:

rgb(77, 36, 107)HEX to RGB Converter →

HEX to HSL

Convert #4D246B to HSL:

hsl(275, 50%, 28%)RGB to HSL Converter →

HEX to CMYK

Convert #4D246B to CMYK:

cmyk(28%, 66%, 0%, 58%)Color Converter →

Color Meaning and Usage

#4D246B is a subtle purple color with RGB values of 77, 36, 107 and HSL of 275°, 50%, 28%. This magenta-red hue evokes romance and playfulness, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #4D246B is #416B24, creating high-contrast pairings. For softer combinations, try analogous colors like #2A246B.

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

Contrast with #4D246B

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #4D246B?

#4D246B is a subtle purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #4D246B?

#4D246B in RGB is (77, 36, 107) - 77 red, 36 green, and 107 blue.

How to use #4D246B in CSS?

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

What colors go well with #4D246B?

#416B24 (complementary), #2A246B (analogous), and #241132 (lighter shade) work well with #4D246B.