#C51DE2
A medium, vivid magenta closely aligning with Darkviolet.
About #C51DE2
At its core, #C51DE2 is a medium and vivid hue. It is closely associated with the named CSS color Darkviolet. To achieve this exact tint on a monitor, you would use an RGB mix of 197, 29, and 226.
When sending designs containing this color to a printer, the CMYK values come into play. The color uses 13% Cyan, 87% Magenta, 0% Yellow, and 11% Black. The HSL representation is 291.2° hue, 77.3% saturation, and 50.0% lightness.
Contrast ratios determine whether this color is safe for typography. To prevent eye strain, #000000 text pairs best with this hex code. Strict adherence to these ratios protects visually impaired users from unreadable interfaces.
Color Space Conversions
HEX#C51DE2
RGB197, 29, 226
HSL291.2°, 77.3%, 50.0%
CMYK13%, 87%, 0%, 11%
HSV291.2°, 87.2%, 88.6%
LAB49.8, 82.2, -62.0
XYZ37.2, 18.2, 73.5
Decimal12918242
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
4.52:1
Text on #FFFFFF
AA
4.65:1
Text on #000000
AA
4.32:1
Text on #F8FAFC
AA Large
3.95:1
Text on #0F172A
AA Large
CSS Implementation
.bg-color {
background-color: #C51DE2;
}
.text-color {
color: #C51DE2;
}
.border-color {
border: 2px solid #C51DE2;
}