#AF33D1 Color Information

Hex color code: #AF33D1

#AF33D1 is a balanced magenta color. In RGB it is (175, 51, 209), and in HSL it is (287°, 63%, 51%). It is frequently seen in web interfaces.

Try:
Color NameDark Orchid
HEX
#AF33D1
RGB
175, 51, 209
HSL
287°, 63%, 51%
CMYK
16%, 76%, 0%, 18%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #AF33D1; 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 #AF33D1; background-color: #AF33D115; }

Alert / Toast

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

Link / Accent

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

a { color: #AF33D1; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #AF33D1 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 51, 209

Red: 175 / Green: 51 / Blue: 209

HSL

287°, 63%, 51%

Hue: 287° / Saturation: 63% / Lightness: 51%

CMYK

16%, 76%, 0%, 18%

Cyan: 16% / Magenta: 76% / Yellow: 0% / Key: 18%

What color is #AF33D1?

#AF33D1 is a magenta-red hue associated with romance and playfulness.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF33D1 to RGB:

rgb(175, 51, 209)HEX to RGB Converter →

HEX to HSL

Convert #AF33D1 to HSL:

hsl(287, 63%, 51%)RGB to HSL Converter →

HEX to CMYK

Convert #AF33D1 to CMYK:

cmyk(16%, 76%, 0%, 18%)Color Converter →

Color Meaning and Usage

A muted magenta tone, #AF33D1 has RGB (175, 51, 209) and HSL (287°, 63%, 51%). Known for evoking romance and playfulness, this magenta-red hue is well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF33D1 is #55D133, creating high-contrast pairings. For softer combinations, try analogous colors like #6033D1.

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

Contrast with #AF33D1

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF33D1?

#AF33D1 is a muted magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #AF33D1?

#AF33D1 in RGB is (175, 51, 209) - 175 red, 51 green, and 209 blue.

How to use #AF33D1 in CSS?

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

What colors go well with #AF33D1?

#55D133 (complementary), #6033D1 (analogous), and #7D2296 (lighter shade) work well with #AF33D1.