#42075F
A dark, vivid purple closely aligning with Midnightblue.
About #42075F
The precise color #42075F is an excellent choice for modern design projects. It is closely associated with the named CSS color Midnightblue. Its digital footprint relies on 66 parts red, 7 parts green, and 95 parts blue light.
For print applications, it's crucial to understand its CMYK makeup. To reproduce this shade on paper, a printer utilizes 31% cyan and 93% magenta inks. This makes it a relatively dark 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. You can view the detailed AAA and AA pass/fail metrics in the table below.
Color Space Conversions
HEX#42075F
RGB66, 7, 95
HSL280.2°, 86.3%, 20.0%
CMYK31%, 93%, 0%, 63%
HSV280.2°, 92.6%, 37.3%
LAB16.2, 40.6, -37.7
XYZ4.4, 2.1, 11.0
Decimal4327263
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
14.71:1
Text on #FFFFFF
AAA
1.43:1
Text on #000000
FAIL
14.06:1
Text on #F8FAFC
AAA
1.21:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #42075F;
}
.text-color {
color: #42075F;
}
.border-color {
border: 2px solid #42075F;
}