#280C7E Color Information

Hex color code: #280C7E

A dynamic purple shade, #280C7E appears as (40, 12, 126) in RGB and (255°, 83%, 27%) in HSL. It is typically applied in digital products.

Try:
Color NameIndigo
HEX
#280C7E
RGB
40, 12, 126
HSL
255°, 83%, 27%
CMYK
68%, 90%, 0%, 51%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #280C7E; 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 #280C7E; background-color: #280C7E15; }

Alert / Toast

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

Link / Accent

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

a { color: #280C7E; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #280C7E in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

40, 12, 126

Red: 40 / Green: 12 / Blue: 126

HSL

255°, 83%, 27%

Hue: 255° / Saturation: 83% / Lightness: 27%

CMYK

68%, 90%, 0%, 51%

Cyan: 68% / Magenta: 90% / Yellow: 0% / Key: 51%

What color is #280C7E?

#280C7E is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #280C7E to RGB:

rgb(40, 12, 126)HEX to RGB Converter →

HEX to HSL

Convert #280C7E to HSL:

hsl(255, 83%, 27%)RGB to HSL Converter →

HEX to CMYK

Convert #280C7E to CMYK:

cmyk(68%, 90%, 0%, 51%)Color Converter →

Color Meaning and Usage

A eye-catching purple tone, #280C7E has RGB (40, 12, 126) and HSL (255°, 83%, 27%). Known for evoking energy and excitement, this highly saturated hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #280C7E is #617E0C, creating high-contrast pairings. For softer combinations, try analogous colors like #0C287E.

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

Contrast with #280C7E

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #280C7E?

#280C7E is a eye-catching purple color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #280C7E?

#280C7E in RGB is (40, 12, 126) - 40 red, 12 green, and 126 blue.

How to use #280C7E in CSS?

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

What colors go well with #280C7E?

#617E0C (complementary), #0C287E (analogous), and #120538 (lighter shade) work well with #280C7E.