#321F51 Color Information

Hex color code: #321F51

A intense purple shade, #321F51 appears as (50, 31, 81) in RGB and (263°, 45%, 22%) in HSL. It is widely used in graphic design.

Try:
Color NameDark Slate Gray
HEX
#321F51
RGB
50, 31, 81
HSL
263°, 45%, 22%
CMYK
38%, 62%, 0%, 68%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #321F51; 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 #321F51; background-color: #321F5115; }

Alert / Toast

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

Link / Accent

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

a { color: #321F51; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #321F51 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

50, 31, 81

Red: 50 / Green: 31 / Blue: 81

HSL

263°, 45%, 22%

Hue: 263° / Saturation: 45% / Lightness: 22%

CMYK

38%, 62%, 0%, 68%

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

What color is #321F51?

#321F51 is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #321F51 to RGB:

rgb(50, 31, 81)HEX to RGB Converter →

HEX to HSL

Convert #321F51 to HSL:

hsl(263, 45%, 22%)RGB to HSL Converter →

HEX to CMYK

Convert #321F51 to CMYK:

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

Color Meaning and Usage

#321F51 is a intense purple color with RGB values of 50, 31, 81 and HSL of 263°, 45%, 22%. This blue-purple hue evokes creativity and luxury, making it suitable for typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #321F51 is #3E511F, creating high-contrast pairings. For softer combinations, try analogous colors like #1F2551.

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

Contrast with #321F51

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #321F51?

#321F51 is a intense purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #321F51?

#321F51 in RGB is (50, 31, 81) - 50 red, 31 green, and 81 blue.

How to use #321F51 in CSS?

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

What colors go well with #321F51?

#3E511F (complementary), #1F2551 (analogous), and #100A1A (lighter shade) work well with #321F51.