#2F096C Color Information

Hex color code: #2F096C

The hex color #2F096C is a rich purple with RGB values of (47, 9, 108) and HSL of (263°, 85%, 23%). It is often used for branding and logos.

Try:
Color NameIndigo
HEX
#2F096C
RGB
47, 9, 108
HSL
263°, 85%, 23%
CMYK
56%, 92%, 0%, 58%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #2F096C; 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 #2F096C; background-color: #2F096C15; }

Alert / Toast

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

Link / Accent

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

a { color: #2F096C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #2F096C in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

47, 9, 108

Red: 47 / Green: 9 / Blue: 108

HSL

263°, 85%, 23%

Hue: 263° / Saturation: 85% / Lightness: 23%

CMYK

56%, 92%, 0%, 58%

Cyan: 56% / Magenta: 92% / Yellow: 0% / Key: 58%

What color is #2F096C?

#2F096C is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #2F096C to RGB:

rgb(47, 9, 108)HEX to RGB Converter →

HEX to HSL

Convert #2F096C to HSL:

hsl(263, 85%, 23%)RGB to HSL Converter →

HEX to CMYK

Convert #2F096C to CMYK:

cmyk(56%, 92%, 0%, 58%)Color Converter →

Color Meaning and Usage

#2F096C is a dark purple color with RGB values of 47, 9, 108 and HSL of 263°, 85%, 23%. This highly saturated hue evokes energy and excitement, making it suitable for popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #2F096C is #466D09, creating high-contrast pairings. For softer combinations, try analogous colors like #09146D.

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

Contrast with #2F096C

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #2F096C?

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

What is the RGB value of #2F096C?

#2F096C in RGB is (47, 9, 108) - 47 red, 9 green, and 108 blue.

How to use #2F096C in CSS?

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

What colors go well with #2F096C?

#466D09 (complementary), #09146D (analogous), and #100326 (lighter shade) work well with #2F096C.