#4F427B Color Information

Hex color code: #4F427B

A gentle blue shade, #4F427B appears as (79, 66, 123) in RGB and (254°, 30%, 37%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameDark Slate Blue
HEX
#4F427B
RGB
79, 66, 123
HSL
254°, 30%, 37%
CMYK
36%, 46%, 0%, 52%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #4F427B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

79, 66, 123

Red: 79 / Green: 66 / Blue: 123

HSL

254°, 30%, 37%

Hue: 254° / Saturation: 30% / Lightness: 37%

CMYK

36%, 46%, 0%, 52%

Cyan: 36% / Magenta: 46% / Yellow: 0% / Key: 52%

What color is #4F427B?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #4F427B to RGB:

rgb(79, 66, 123)HEX to RGB Converter →

HEX to HSL

Convert #4F427B to HSL:

hsl(254, 30%, 37%)RGB to HSL Converter →

HEX to CMYK

Convert #4F427B to CMYK:

cmyk(36%, 46%, 0%, 52%)Color Converter →

Color Meaning and Usage

A gentle blue tone, #4F427B has RGB (79, 66, 123) and HSL (254°, 30%, 37%). Known for evoking creativity and luxury, this blue-purple hue is commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #4F427B is #6D7B42, creating high-contrast pairings. For softer combinations, try analogous colors like #42517B.

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

Contrast with #4F427B

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #4F427B?

#4F427B is a gentle blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #4F427B?

#4F427B in RGB is (79, 66, 123) - 79 red, 66 green, and 123 blue.

How to use #4F427B in CSS?

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

What colors go well with #4F427B?

#6D7B42 (complementary), #42517B (analogous), and #2F2749 (lighter shade) work well with #4F427B.