#331735 Color Information

Hex color code: #331735

The hex color #331735 is a rich magenta with RGB values of (51, 23, 53) and HSL of (296°, 39%, 15%). It is often used for branding and logos.

Try:
Color NameDark Slate Gray
HEX
#331735
RGB
51, 23, 53
HSL
296°, 39%, 15%
CMYK
4%, 57%, 0%, 79%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #331735; 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 #331735; background-color: #33173515; }

Alert / Toast

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

Link / Accent

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

a { color: #331735; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #331735 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

51, 23, 53

Red: 51 / Green: 23 / Blue: 53

HSL

296°, 39%, 15%

Hue: 296° / Saturation: 39% / Lightness: 15%

CMYK

4%, 57%, 0%, 79%

Cyan: 4% / Magenta: 57% / Yellow: 0% / Key: 79%

What color is #331735?

#331735 is a very dark shade associated with sophistication and elegance.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #331735 to RGB:

rgb(51, 23, 53)HEX to RGB Converter →

HEX to HSL

Convert #331735 to HSL:

hsl(296, 39%, 15%)RGB to HSL Converter →

HEX to CMYK

Convert #331735 to CMYK:

cmyk(4%, 57%, 0%, 79%)Color Converter →

Color Meaning and Usage

#331735 is a dramatic magenta color with RGB values of 51, 23, 53 and HSL of 296°, 39%, 15%. This very dark shade evokes sophistication and elegance, making it suitable for typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #331735 is #193517, creating high-contrast pairings. For softer combinations, try analogous colors like #241735.

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

Contrast with #331735

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #331735?

#331735 is a dramatic magenta color - a very dark shade that evokes sophistication and elegance.

What is the RGB value of #331735?

#331735 in RGB is (51, 23, 53) - 51 red, 23 green, and 53 blue.

How to use #331735 in CSS?

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

What colors go well with #331735?

#193517 (complementary), #241735 (analogous), and #000000 (lighter shade) work well with #331735.