#201727 Color Information

Hex color code: #201727

#201727 is a dramatic purple color. In RGB it is (32, 23, 39), and in HSL it is (274°, 26%, 12%). It is widely used in graphic design.

Try:
Color NameBlack
HEX
#201727
RGB
32, 23, 39
HSL
274°, 26%, 12%
CMYK
18%, 41%, 0%, 85%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #201727; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

32, 23, 39

Red: 32 / Green: 23 / Blue: 39

HSL

274°, 26%, 12%

Hue: 274° / Saturation: 26% / Lightness: 12%

CMYK

18%, 41%, 0%, 85%

Cyan: 18% / Magenta: 41% / Yellow: 0% / Key: 85%

What color is #201727?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #201727 to RGB:

rgb(32, 23, 39)HEX to RGB Converter →

HEX to HSL

Convert #201727 to HSL:

hsl(274, 26%, 12%)RGB to HSL Converter →

HEX to CMYK

Convert #201727 to CMYK:

cmyk(18%, 41%, 0%, 85%)Color Converter →

Color Meaning and Usage

A rich purple tone, #201727 has RGB (32, 23, 39) and HSL (274°, 26%, 12%). Known for evoking sophistication and elegance, this very dark shade is well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #201727 is #1E2717, creating high-contrast pairings. For softer combinations, try analogous colors like #181727.

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

Contrast with #201727

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #201727?

#201727 is a rich purple color - a very dark shade that evokes sophistication and elegance.

What is the RGB value of #201727?

#201727 in RGB is (32, 23, 39) - 32 red, 23 green, and 39 blue.

How to use #201727 in CSS?

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

What colors go well with #201727?

#1E2717 (complementary), #181727 (analogous), and #000000 (lighter shade) work well with #201727.