#C31DC3 Color Information

Hex color code: #C31DC3

The hex color #C31DC3 is a eye-catching magenta with RGB values of (195, 29, 195) and HSL of (300°, 74%, 44%). It is widely used in graphic design.

Try:
Color NameDark Orchid
HEX
#C31DC3
RGB
195, 29, 195
HSL
300°, 74%, 44%
CMYK
0%, 85%, 0%, 24%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #C31DC3; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

195, 29, 195

Red: 195 / Green: 29 / Blue: 195

HSL

300°, 74%, 44%

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

CMYK

0%, 85%, 0%, 24%

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

What color is #C31DC3?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #C31DC3 to RGB:

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

HEX to HSL

Convert #C31DC3 to HSL:

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

HEX to CMYK

Convert #C31DC3 to CMYK:

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

Color Meaning and Usage

A vivid magenta tone, #C31DC3 has RGB (195, 29, 195) and HSL (300°, 74%, 44%). Known for evoking romance and playfulness, this magenta-red hue is a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #C31DC3 is #1DC31D, creating high-contrast pairings. For softer combinations, try analogous colors like #701DC3.

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

Contrast with #C31DC3

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #C31DC3?

#C31DC3 is a vivid magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #C31DC3?

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

How to use #C31DC3 in CSS?

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

What colors go well with #C31DC3?

#1DC31D (complementary), #701DC3 (analogous), and #811381 (lighter shade) work well with #C31DC3.