#C31EF4 color
The hex color #C31EF4 is a vivid magenta.
In the RGB color model it is made of 76.5% red, 11.8% green and 95.7% blue (195, 30, 244).
Its hue angle is 286°, with 91% saturation and 54% lightness. For print, the CMYK equivalent is 20% cyan, 88% magenta, 0% yellow and 4% black.
The closest named color is Trippy Velvet (#CC00EE), a difference of 1.8 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 4.81:1).
#C31EF4 color codes
| HEX | #C31EF4 | |
|---|---|---|
| RGB | rgb(195, 30, 244) | |
| RGB percent | rgb(76.5%, 11.8%, 95.7%) | |
| HSL | hsl(286, 91%, 54%) | |
| HSV / HSB | hsv(286, 88%, 96%) | |
| CMYK | cmyk(20%, 88%, 0%, 4%) | |
| CIE LAB | lab(50.76, 84.72, -70.61) | |
| CIE LCH | lch(50.76, 110.28, 320.19) | |
| CIE XYZ | xyz(39.296, 19.064, 87.18) | |
| Decimal | 12787444 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #C31EF4, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #C31EF4 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.81:1 | Pass | Fail | Pass |
| Sample text | 4.36:1 | Fail | Fail | Pass |
| #C31EF4 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.36:1 | Fail | Fail | Pass |
| Sample text | 4.81:1 | Pass | Fail | Pass |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #C31EF4 looks to people with the most common types of color vision deficiency.
#0070f9Protanopia
no red cones#117df0Deuteranopia
no green cones#bf5a92Tritanopia
no blue cones#797979Achromatopsia
no color vision
CSS examples
.background { background-color: #c31ef4; }
.text { color: #c31ef4; }
.border { border: 2px solid #c31ef4; }
.transparent { background-color: rgb(195 30 244 / 50%); }
.gradient { background: linear-gradient(to right, #c31ef4, #f41eba); }
Similar colors
#cc00eeTrippy Velvet#bc13feNeon Purple#bb11eePromiscuous Pink#cc22ffFlirtatious Flamingo#bb02feSpectacular Purple#bb00ffThe Grape War of 97’#bf3cffMagento#cc33ffFlamingo Queen
Questions
- What color is #C31EF4?
- #C31EF4 is a vivid magenta, closest to the named color Trippy Velvet. It belongs to the purple family of colors.
- What is the RGB value of #C31EF4?
- The RGB value is 195, 30, 244: 195 red, 30 green and 244 blue on a 0 to 255 scale.
- What is the complementary color of #C31EF4?
- The complementary color is #4FF41E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #C31EF4?
- Black text. Black text has a contrast ratio of 4.81:1 and white text 4.36:1. WCAG asks for at least 4.5:1 for normal text.