#6048E2 Color Information

Hex color code: #6048E2

The hex color #6048E2 is a bold blue with RGB values of (96, 72, 226) and HSL of (249°, 73%, 58%). It is frequently seen in web interfaces.

Try:
Color NameSlate Blue
HEX
#6048E2
RGB
96, 72, 226
HSL
249°, 73%, 58%
CMYK
58%, 68%, 0%, 11%

Shades

CSS Usage
color: #6048E2;
background-color: #6048E2;
border-color: #6048E2;
box-shadow: 0 0 10px #6048E2;
border: 2px solid #6048E2;
Tailwind Usage
bg-[#6048E2]
text-[#6048E2]
border-[#6048E2]
shadow-[0_0_10px_6048E2]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #6048E2, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #6048E2; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #6048E2; 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 #6048E2; background-color: #6048E215; }

Alert / Toast

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

Link / Accent

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

a { color: #6048E2; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #6048E2 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

96, 72, 226

Red: 96 / Green: 72 / Blue: 226

HSL

249°, 73%, 58%

Hue: 249° / Saturation: 73% / Lightness: 58%

CMYK

58%, 68%, 0%, 11%

Cyan: 58% / Magenta: 68% / Yellow: 0% / Key: 11%

What color is #6048E2?

#6048E2 is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #6048E2 to RGB:

rgb(96, 72, 226)HEX to RGB Converter →

HEX to HSL

Convert #6048E2 to HSL:

hsl(249, 73%, 58%)RGB to HSL Converter →

HEX to CMYK

Convert #6048E2 to CMYK:

cmyk(58%, 68%, 0%, 11%)Color Converter →

Color Meaning and Usage

#6048E2 is a striking blue color with RGB values of 96, 72, 226 and HSL of 249°, 73%, 58%. This blue-purple hue evokes creativity and luxury, making it suitable for well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #6048E2 is #CBE246, creating high-contrast pairings. For softer combinations, try analogous colors like #467CE2.

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

Contrast with #6048E2

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #6048E2?

#6048E2 is a striking blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #6048E2?

#6048E2 in RGB is (96, 72, 226) - 96 red, 72 green, and 226 blue.

How to use #6048E2 in CSS?

Use #6048E2 directly in your CSS properties like color or background-color.

What colors go well with #6048E2?

#CBE246 (complementary), #467CE2 (analogous), and #361EBE (lighter shade) work well with #6048E2.