#C31EF4 color

#C31EF4 rgb(195, 30, 244)
Shades of purple

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
RGBrgb(195, 30, 244)
RGB percentrgb(76.5%, 11.8%, 95.7%)
HSLhsl(286, 91%, 54%)
HSV / HSBhsv(286, 88%, 96%)
CMYKcmyk(20%, 88%, 0%, 4%)
CIE LABlab(50.76, 84.72, -70.61)
CIE LCHlch(50.76, 110.28, 320.19)
CIE XYZxyz(39.296, 19.064, 87.18)
Decimal12787444
Short hexNone (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 #C31EF4RatioAAAAAAA large
Sample text4.81:1PassFailPass
Sample text4.36:1FailFailPass
#C31EF4 as text onRatioAAAAAAA large
Sample text4.36:1FailFailPass
Sample text4.81:1PassFailPass

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.

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); }
Background
Text color
Border

Similar colors

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.