#28262C Color Information

Hex color code: #28262C

The hex color #28262C is a intense purple with RGB values of (40, 38, 44) and HSL of (260°, 7%, 16%). It is popular in mobile app design.

Try:
Color NameDark Slate Gray
HEX
#28262C
RGB
40, 38, 44
HSL
260°, 7%, 16%
CMYK
9%, 14%, 0%, 83%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #28262C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

40, 38, 44

Red: 40 / Green: 38 / Blue: 44

HSL

260°, 7%, 16%

Hue: 260° / Saturation: 7% / Lightness: 16%

CMYK

9%, 14%, 0%, 83%

Cyan: 9% / Magenta: 14% / Yellow: 0% / Key: 83%

What color is #28262C?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #28262C to RGB:

rgb(40, 38, 44)HEX to RGB Converter →

HEX to HSL

Convert #28262C to HSL:

hsl(260, 7%, 16%)RGB to HSL Converter →

HEX to CMYK

Convert #28262C to CMYK:

cmyk(9%, 14%, 0%, 83%)Color Converter →

Color Meaning and Usage

#28262C is a dramatic purple color with RGB values of 40, 38, 44 and HSL of 260°, 7%, 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 #28262C is #2A2C26, creating high-contrast pairings. For softer combinations, try analogous colors like #26272C.

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

Contrast with #28262C

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #28262C?

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

What is the RGB value of #28262C?

#28262C in RGB is (40, 38, 44) - 40 red, 38 green, and 44 blue.

How to use #28262C in CSS?

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

What colors go well with #28262C?

#2A2C26 (complementary), #26272C (analogous), and #020203 (lighter shade) work well with #28262C.