#2C0F75
A dark, vivid purple closely aligning with Midnightblue.
About #2C0F75
At its core, #2C0F75 is a dark and vivid hue. Designers often compare it to the standard color Midnightblue. This translates to an RGB value of rgb(44, 15, 117).
Translating this color to physical media requires the CMYK color model. To reproduce this shade on paper, a printer utilizes 62% cyan and 87% magenta inks. Always request a physical proof before doing a large print run with this exact code.
Ensuring your text is legible against this background is a key part of web design. 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#2C0F75
RGB44, 15, 117
HSL257.1°, 77.3%, 25.9%
CMYK62%, 87%, 0%, 54%
HSV257.1°, 87.2%, 45.9%
LAB16.3, 40.5, -52.0
XYZ4.4, 2.2, 17.0
Decimal2887541
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
14.66:1
Text on #FFFFFF
AAA
1.43:1
Text on #000000
FAIL
14.01:1
Text on #F8FAFC
AAA
1.22:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #2C0F75;
}
.text-color {
color: #2C0F75;
}
.border-color {
border: 2px solid #2C0F75;
}