#20163C Color Information

Hex color code: #20163C

The hex color #20163C is a dramatic purple with RGB values of (32, 22, 60) and HSL of (256°, 46%, 16%). It is typically applied in digital products.

Try:
Color NameDark Slate Gray
HEX
#20163C
RGB
32, 22, 60
HSL
256°, 46%, 16%
CMYK
47%, 63%, 0%, 76%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #20163C; 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 #20163C; background-color: #20163C15; }

Alert / Toast

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

Link / Accent

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

a { color: #20163C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #20163C in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

32, 22, 60

Red: 32 / Green: 22 / Blue: 60

HSL

256°, 46%, 16%

Hue: 256° / Saturation: 46% / Lightness: 16%

CMYK

47%, 63%, 0%, 76%

Cyan: 47% / Magenta: 63% / Yellow: 0% / Key: 76%

What color is #20163C?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #20163C to RGB:

rgb(32, 22, 60)HEX to RGB Converter →

HEX to HSL

Convert #20163C to HSL:

hsl(256, 46%, 16%)RGB to HSL Converter →

HEX to CMYK

Convert #20163C to CMYK:

cmyk(47%, 63%, 0%, 76%)Color Converter →

Color Meaning and Usage

#20163C is a dramatic purple color with RGB values of 32, 22, 60 and HSL of 256°, 46%, 16%. This very dark shade evokes sophistication and elegance, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #20163C is #323C16, creating high-contrast pairings. For softer combinations, try analogous colors like #161F3C.

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

Contrast with #20163C

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #20163C?

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

What is the RGB value of #20163C?

#20163C in RGB is (32, 22, 60) - 32 red, 22 green, and 60 blue.

How to use #20163C in CSS?

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

What colors go well with #20163C?

#323C16 (complementary), #161F3C (analogous), and #020104 (lighter shade) work well with #20163C.