#331DD7 Color Information

Hex color code: #331DD7

A bold blue shade, #331DD7 appears as (51, 29, 215) in RGB and (247°, 76%, 48%) in HSL. It is often used for branding and logos.

Try:
Color NameBlue
HEX
#331DD7
RGB
51, 29, 215
HSL
247°, 76%, 48%
CMYK
76%, 87%, 0%, 16%

Shades

CSS Usage
color: #331DD7;
background-color: #331DD7;
border-color: #331DD7;
box-shadow: 0 0 10px #331DD7;
border: 2px solid #331DD7;
Tailwind Usage
bg-[#331DD7]
text-[#331DD7]
border-[#331DD7]
shadow-[0_0_10px_331DD7]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #331DD7, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #331DD7; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #331DD7; 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 #331DD7; background-color: #331DD715; }

Alert / Toast

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

Link / Accent

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

a { color: #331DD7; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #331DD7 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

51, 29, 215

Red: 51 / Green: 29 / Blue: 215

HSL

247°, 76%, 48%

Hue: 247° / Saturation: 76% / Lightness: 48%

CMYK

76%, 87%, 0%, 16%

Cyan: 76% / Magenta: 87% / Yellow: 0% / Key: 16%

What color is #331DD7?

#331DD7 is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #331DD7 to RGB:

rgb(51, 29, 215)HEX to RGB Converter →

HEX to HSL

Convert #331DD7 to HSL:

hsl(247, 76%, 48%)RGB to HSL Converter →

HEX to CMYK

Convert #331DD7 to CMYK:

cmyk(76%, 87%, 0%, 16%)Color Converter →

Color Meaning and Usage

A dynamic blue tone, #331DD7 has RGB (51, 29, 215) and HSL (247°, 76%, 48%). Known for evoking creativity and luxury, this blue-purple hue is popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #331DD7 is #C2D71D, creating high-contrast pairings. For softer combinations, try analogous colors like #1D65D7.

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

Contrast with #331DD7

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #331DD7?

#331DD7 is a dynamic blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #331DD7?

#331DD7 in RGB is (51, 29, 215) - 51 red, 29 green, and 215 blue.

How to use #331DD7 in CSS?

Use #331DD7 directly in your CSS properties like color or background-color.

What colors go well with #331DD7?

#C2D71D (complementary), #1D65D7 (analogous), and #231494 (lighter shade) work well with #331DD7.