#4F335C Color Information

Hex color code: #4F335C

The hex color #4F335C is a pastel purple with RGB values of (79, 51, 92) and HSL of (281°, 29%, 28%). It is commonly used in modern UI design.

Try:
Color NameDark Slate Gray
HEX
#4F335C
RGB
79, 51, 92
HSL
281°, 29%, 28%
CMYK
14%, 45%, 0%, 64%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #4F335C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

79, 51, 92

Red: 79 / Green: 51 / Blue: 92

HSL

281°, 29%, 28%

Hue: 281° / Saturation: 29% / Lightness: 28%

CMYK

14%, 45%, 0%, 64%

Cyan: 14% / Magenta: 45% / Yellow: 0% / Key: 64%

What color is #4F335C?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #4F335C to RGB:

rgb(79, 51, 92)HEX to RGB Converter →

HEX to HSL

Convert #4F335C to HSL:

hsl(281, 29%, 28%)RGB to HSL Converter →

HEX to CMYK

Convert #4F335C to CMYK:

cmyk(14%, 45%, 0%, 64%)Color Converter →

Color Meaning and Usage

#4F335C is a pastel purple color with RGB values of 79, 51, 92 and HSL of 281°, 29%, 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 #4F335C is #405C33, creating high-contrast pairings. For softer combinations, try analogous colors like #3A335C.

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

Contrast with #4F335C

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #4F335C?

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

What is the RGB value of #4F335C?

#4F335C in RGB is (79, 51, 92) - 79 red, 51 green, and 92 blue.

How to use #4F335C in CSS?

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

What colors go well with #4F335C?

#405C33 (complementary), #3A335C (analogous), and #25182B (lighter shade) work well with #4F335C.