#24006B Color Information

Hex color code: #24006B

A deep purple shade, #24006B appears as (36, 0, 107) in RGB and (260°, 100%, 21%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameNavy
HEX
#24006B
RGB
36, 0, 107
HSL
260°, 100%, 21%
CMYK
66%, 100%, 0%, 58%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #24006B; 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 #24006B; background-color: #24006B15; }

Alert / Toast

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

Link / Accent

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

a { color: #24006B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #24006B in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

36, 0, 107

Red: 36 / Green: 0 / Blue: 107

HSL

260°, 100%, 21%

Hue: 260° / Saturation: 100% / Lightness: 21%

CMYK

66%, 100%, 0%, 58%

Cyan: 66% / Magenta: 100% / Yellow: 0% / Key: 58%

What color is #24006B?

#24006B is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #24006B to RGB:

rgb(36, 0, 107)HEX to RGB Converter →

HEX to HSL

Convert #24006B to HSL:

hsl(260, 100%, 21%)RGB to HSL Converter →

HEX to CMYK

Convert #24006B to CMYK:

cmyk(66%, 100%, 0%, 58%)Color Converter →

Color Meaning and Usage

#24006B is a dark purple color with RGB values of 36, 0, 107 and HSL of 260°, 100%, 21%. This highly saturated hue evokes energy and excitement, making it suitable for often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #24006B is #476B00, creating high-contrast pairings. For softer combinations, try analogous colors like #00126B.

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

Contrast with #24006B

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #24006B?

#24006B is a dark purple color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #24006B?

#24006B in RGB is (36, 0, 107) - 36 red, 0 green, and 107 blue.

How to use #24006B in CSS?

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

What colors go well with #24006B?

#476B00 (complementary), #00126B (analogous), and #0A001F (lighter shade) work well with #24006B.