#2C0766
A dark, vivid purple closely aligning with Midnightblue.
About #2C0766
At its core, #2C0766 is a dark and vivid hue. Designers often compare it to the standard color Midnightblue. To achieve this exact tint on a monitor, you would use an RGB mix of 44, 7, and 102.
When sending designs containing this color to a printer, the CMYK values come into play. This specific hue requires a mix of 57% C, 93% M, 0% Y, and 60% K. This makes it a relatively dark color when applied to physical surfaces.
When using this color as a background, text legibility must be considered. To prevent eye strain, #FFFFFF text pairs best with this hex code. Always test your color combinations using a contrast checker before publishing.
Color Space Conversions
HEX#2C0766
RGB44, 7, 102
HSL263.4°, 87.2%, 21.4%
CMYK57%, 93%, 0%, 60%
HSV263.4°, 93.1%, 40.0%
LAB13.5, 39.3, -46.8
XYZ3.5, 1.6, 12.7
Decimal2885478
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
15.80:1
Text on #FFFFFF
AAA
1.33:1
Text on #000000
FAIL
15.10:1
Text on #F8FAFC
AAA
1.13:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #2C0766;
}
.text-color {
color: #2C0766;
}
.border-color {
border: 2px solid #2C0766;
}