hexcolors

#C40DF2

Closest named color: darkviolet

About this color

#C40DF2 is a vivid purple color. In RGB it is 196, 13, 242, and its closest named color is darkviolet. Text in black is easiest to read on it, with a contrast ratio of 4.69:1.

What does purple mean?

Copy the value you need

Click any row to copy it.

HEX
RGB
HSL
HSV
CMYK
LAB
OKLCH

Is text readable on #C40DF2?

Contrast against white and black text.

Aa Sample
4.48:1 with white text
Passes AA for large text only
Aa Sample
4.69:1 with black text
Passes AA for body text

Test your own pair

Make it lighter or darker

Shades keep the same hue. Click one to open the closest color page.

Build a full 50 to 950 scale

Softer versions (tints)

Mixed with white.

Muted versions (tones)

Mixed with gray.

Colors that go with #C40DF2

Ready-made pairings from the color wheel.

Complementary

Split complementary

Explore the color wheel · More colors that go with darkviolet

How it looks with color blindness

Simulated for common types.

Normal
#C40DF2
Protanopia
#006EF7
Deuteranopia
#0C7BEE
Tritanopia
#C1558F

Test an image

Copy the code

CSS, Sass and Tailwind.

color: #c40df2;
background-color: #c40df2;
--brand: #c40df2;
$brand: #c40df2;
bg-[#c40df2] text-[#c40df2] border-[#c40df2]

Similar colors

Nearby colors you might prefer.

Common questions

What is the RGB value of #C40DF2?

#C40DF2 is rgb(196, 13, 242).

What is the closest named color to #C40DF2?

The closest CSS named color is darkviolet (#9400D3).

What color goes well with #C40DF2?

Its complementary color is #3BF20D. Analogous colors at #520DF2 and #F20DAD also work well.

Should I use white or black text on #C40DF2?

Black text is easier to read, with a contrast ratio of 4.69:1.

Use this color anywhere

Data, embeds and tools.

Get #C40DF2 as JSON

Embed a color swatch on your site

Add opacity to this color

Pick a different color