#C31DB3 Color Information

Hex color code: #C31DB3

#C31DB3 is a striking magenta color. In RGB it is (195, 29, 179), and in HSL it is (306°, 74%, 44%). It is popular in mobile app design.

Try:
Color NameViolet Red
HEX
#C31DB3
RGB
195, 29, 179
HSL
306°, 74%, 44%
CMYK
0%, 85%, 8%, 24%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #C31DB3; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

195, 29, 179

Red: 195 / Green: 29 / Blue: 179

HSL

306°, 74%, 44%

Hue: 306° / Saturation: 74% / Lightness: 44%

CMYK

0%, 85%, 8%, 24%

Cyan: 0% / Magenta: 85% / Yellow: 8% / Key: 24%

What color is #C31DB3?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #C31DB3 to RGB:

rgb(195, 29, 179)HEX to RGB Converter →

HEX to HSL

Convert #C31DB3 to HSL:

hsl(306, 74%, 44%)RGB to HSL Converter →

HEX to CMYK

Convert #C31DB3 to CMYK:

cmyk(0%, 85%, 8%, 24%)Color Converter →

Color Meaning and Usage

#C31DB3 is a dynamic magenta color with RGB values of 195, 29, 179 and HSL of 306°, 74%, 44%. This magenta-red hue evokes romance and playfulness, making it suitable for frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #C31DB3 is #1DC32E, creating high-contrast pairings. For softer combinations, try analogous colors like #811DC3.

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

Contrast with #C31DB3

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #C31DB3?

#C31DB3 is a dynamic magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #C31DB3?

#C31DB3 in RGB is (195, 29, 179) - 195 red, 29 green, and 179 blue.

How to use #C31DB3 in CSS?

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

What colors go well with #C31DB3?

#1DC32E (complementary), #811DC3 (analogous), and #811376 (lighter shade) work well with #C31DB3.