#502CAF
A medium, moderate purple closely aligning with Indigo.
About #502CAF
Visually, #502CAF is defined as a moderate purple. It is closely associated with the named CSS color Indigo. To achieve this exact tint on a monitor, you would use an RGB mix of 80, 44, and 175.
When sending designs containing this color to a printer, the CMYK values come into play. The color uses 54% Cyan, 75% Magenta, 0% Yellow, and 31% Black. This makes it a relatively light color when applied to physical surfaces.
From a UX and accessibility standpoint, contrast is paramount. The calculated luminance score dictates that #FFFFFF typography is the safest choice. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.
Color Space Conversions
HEX#502CAF
RGB80, 44, 175
HSL256.5°, 59.8%, 42.9%
CMYK54%, 75%, 0%, 31%
HSV256.5°, 74.9%, 68.6%
LAB30.9, 48.4, -63.8
XYZ11.9, 6.6, 41.2
Decimal5254319
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
9.05:1
Text on #FFFFFF
AAA
2.32:1
Text on #000000
FAIL
8.65:1
Text on #F8FAFC
AAA
1.97:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #502CAF;
}
.text-color {
color: #502CAF;
}
.border-color {
border: 2px solid #502CAF;
}