#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.
Copy the value you need
Click any row to copy it.
Is text readable on #C40DF2?
Contrast against white and black text.
Passes AA for large text only
Passes AA for body text
Make it lighter or darker
Shades keep the same hue. Click one to open the closest color page.
Softer versions (tints)
Mixed with white.
Muted versions (tones)
Mixed with gray.
Colors that go with #C40DF2
Ready-made pairings from the color wheel.
Explore the color wheel · More colors that go with darkviolet
How it looks with color blindness
Simulated for common types.
#C40DF2
#006EF7
#0C7BEE
#C1558F
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.
Recently viewed
Saved only in this browser.