#7C167C
A dark, moderate magenta closely aligning with Purple.
About #7C167C
The hex code #7C167C represents a beautifully specific shade of magenta. If you're using CSS, you might find it aligns closely with Purple. This translates to an RGB value of rgb(124, 22, 124).
For print applications, it's crucial to understand its CMYK makeup. This specific hue requires a mix of 0% C, 82% M, 0% Y, and 51% K. Always request a physical proof before doing a large print run with this exact code.
Web Content Accessibility Guidelines (WCAG) dictate how we should use this color. Mathematical luminance calculations suggest that #FFFFFF text provides the most optimal reading experience. You can view the detailed AAA and AA pass/fail metrics in the table below.
Color Space Conversions
HEX#7C167C
RGB124, 22, 124
HSL300.0°, 69.9%, 28.6%
CMYK0%, 82%, 0%, 51%
HSV300.0°, 82.3%, 48.6%
LAB30.2, 53.4, -33.4
XYZ12.2, 6.3, 19.6
Decimal8132220
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
9.28:1
Text on #FFFFFF
AAA
2.26:1
Text on #000000
FAIL
8.87:1
Text on #F8FAFC
AAA
1.92:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #7C167C;
}
.text-color {
color: #7C167C;
}
.border-color {
border: 2px solid #7C167C;
}