#33174A Color Information

Hex color code: #33174A

A dramatic purple shade, #33174A appears as (51, 23, 74) in RGB and (273°, 53%, 19%) in HSL. It is widely used in graphic design.

Try:
Color NameDark Slate Gray
HEX
#33174A
RGB
51, 23, 74
HSL
273°, 53%, 19%
CMYK
31%, 69%, 0%, 71%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #33174A; 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 #33174A; background-color: #33174A15; }

Alert / Toast

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

Link / Accent

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

a { color: #33174A; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #33174A in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

51, 23, 74

Red: 51 / Green: 23 / Blue: 74

HSL

273°, 53%, 19%

Hue: 273° / Saturation: 53% / Lightness: 19%

CMYK

31%, 69%, 0%, 71%

Cyan: 31% / Magenta: 69% / Yellow: 0% / Key: 71%

What color is #33174A?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #33174A to RGB:

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

HEX to HSL

Convert #33174A to HSL:

hsl(273, 53%, 19%)RGB to HSL Converter →

HEX to CMYK

Convert #33174A to CMYK:

cmyk(31%, 69%, 0%, 71%)Color Converter →

Color Meaning and Usage

#33174A is a dramatic purple color with RGB values of 51, 23, 74 and HSL of 273°, 53%, 19%. 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 #33174A is #2E4A17, creating high-contrast pairings. For softer combinations, try analogous colors like #19174A.

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

Contrast with #33174A

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #33174A?

#33174A is a dramatic purple color - a very dark shade that evokes sophistication and elegance.

What is the RGB value of #33174A?

#33174A in RGB is (51, 23, 74) - 51 red, 23 green, and 74 blue.

How to use #33174A in CSS?

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

What colors go well with #33174A?

#2E4A17 (complementary), #19174A (analogous), and #0B0510 (lighter shade) work well with #33174A.