#797180 Color Information

Hex color code: #797180

#797180 is a subtle purple color. In RGB it is (121, 113, 128), and in HSL it is (272°, 6%, 47%). It is popular in mobile app design.

Try:
Color NameGray
HEX
#797180
RGB
121, 113, 128
HSL
272°, 6%, 47%
CMYK
5%, 12%, 0%, 50%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #797180; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

121, 113, 128

Red: 121 / Green: 113 / Blue: 128

HSL

272°, 6%, 47%

Hue: 272° / Saturation: 6% / Lightness: 47%

CMYK

5%, 12%, 0%, 50%

Cyan: 5% / Magenta: 12% / Yellow: 0% / Key: 50%

What color is #797180?

#797180 is a desaturated neutral associated with balance and subtlety.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #797180 to RGB:

rgb(121, 113, 128)HEX to RGB Converter →

HEX to HSL

Convert #797180 to HSL:

hsl(272, 6%, 47%)RGB to HSL Converter →

HEX to CMYK

Convert #797180 to CMYK:

cmyk(5%, 12%, 0%, 50%)Color Converter →

Color Meaning and Usage

#797180 is a neutral purple color with RGB values of 121, 113, 128 and HSL of 272°, 6%, 47%. This desaturated neutral evokes balance and subtlety, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #797180 is #777F71, creating high-contrast pairings. For softer combinations, try analogous colors like #71717F.

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

Contrast with #797180

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #797180?

#797180 is a neutral purple color - a desaturated neutral that evokes balance and subtlety.

What is the RGB value of #797180?

#797180 in RGB is (121, 113, 128) - 121 red, 113 green, and 128 blue.

How to use #797180 in CSS?

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

What colors go well with #797180?

#777F71 (complementary), #71717F (analogous), and #524D56 (lighter shade) work well with #797180.