#3A339D Color Information

Hex color code: #3A339D

A cool blue shade, #3A339D appears as (58, 51, 157) in RGB and (244°, 51%, 41%) in HSL. It is commonly used in modern UI design.

Try:
Color NameDark Slate Blue
HEX
#3A339D
RGB
58, 51, 157
HSL
244°, 51%, 41%
CMYK
63%, 68%, 0%, 38%

Shades

CSS Usage
color: #3A339D;
background-color: #3A339D;
border-color: #3A339D;
box-shadow: 0 0 10px #3A339D;
border: 2px solid #3A339D;
Tailwind Usage
bg-[#3A339D]
text-[#3A339D]
border-[#3A339D]
shadow-[0_0_10px_3A339D]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #3A339D, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #3A339D; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #3A339D; 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 #3A339D; background-color: #3A339D15; }

Alert / Toast

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

Link / Accent

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

a { color: #3A339D; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #3A339D in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

58, 51, 157

Red: 58 / Green: 51 / Blue: 157

HSL

244°, 51%, 41%

Hue: 244° / Saturation: 51% / Lightness: 41%

CMYK

63%, 68%, 0%, 38%

Cyan: 63% / Magenta: 68% / Yellow: 0% / Key: 38%

What color is #3A339D?

#3A339D is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #3A339D to RGB:

rgb(58, 51, 157)HEX to RGB Converter →

HEX to HSL

Convert #3A339D to HSL:

hsl(244, 51%, 41%)RGB to HSL Converter →

HEX to CMYK

Convert #3A339D to CMYK:

cmyk(63%, 68%, 0%, 38%)Color Converter →

Color Meaning and Usage

#3A339D is a cool blue color with RGB values of 58, 51, 157 and HSL of 244°, 51%, 41%. 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 #3A339D is #979E33, creating high-contrast pairings. For softer combinations, try analogous colors like #33619E.

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

Contrast with #3A339D

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #3A339D?

#3A339D is a cool blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #3A339D?

#3A339D in RGB is (58, 51, 157) - 58 red, 51 green, and 157 blue.

How to use #3A339D in CSS?

Use #3A339D directly in your CSS properties like color or background-color.

What colors go well with #3A339D?

#979E33 (complementary), #33619E (analogous), and #252064 (lighter shade) work well with #3A339D.