#2F234D Color Information

Hex color code: #2F234D

The hex color #2F234D is a deep purple with RGB values of (47, 35, 77) and HSL of (257°, 37%, 22%). It is commonly used in modern UI design.

Try:
Color NameDark Slate Gray
HEX
#2F234D
RGB
47, 35, 77
HSL
257°, 37%, 22%
CMYK
39%, 55%, 0%, 70%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #2F234D; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

47, 35, 77

Red: 47 / Green: 35 / Blue: 77

HSL

257°, 37%, 22%

Hue: 257° / Saturation: 37% / Lightness: 22%

CMYK

39%, 55%, 0%, 70%

Cyan: 39% / Magenta: 55% / Yellow: 0% / Key: 70%

What color is #2F234D?

#2F234D is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #2F234D to RGB:

rgb(47, 35, 77)HEX to RGB Converter →

HEX to HSL

Convert #2F234D to HSL:

hsl(257, 37%, 22%)RGB to HSL Converter →

HEX to CMYK

Convert #2F234D to CMYK:

cmyk(39%, 55%, 0%, 70%)Color Converter →

Color Meaning and Usage

A dark purple tone, #2F234D has RGB (47, 35, 77) and HSL (257°, 37%, 22%). Known for evoking creativity and luxury, this blue-purple hue is popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #2F234D is #414D23, creating high-contrast pairings. For softer combinations, try analogous colors like #232C4D.

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

Contrast with #2F234D

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #2F234D?

#2F234D is a dark purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #2F234D?

#2F234D in RGB is (47, 35, 77) - 47 red, 35 green, and 77 blue.

How to use #2F234D in CSS?

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

What colors go well with #2F234D?

#414D23 (complementary), #232C4D (analogous), and #0F0B18 (lighter shade) work well with #2F234D.