#24075F
A dark, vivid purple closely aligning with Midnightblue.
About #24075F
The precise color #24075F is an excellent choice for modern design projects. Designers often compare it to the standard color Midnightblue. To achieve this exact tint on a monitor, you would use an RGB mix of 36, 7, and 95.
For print applications, it's crucial to understand its CMYK makeup. To reproduce this shade on paper, a printer utilizes 62% cyan and 93% magenta inks. With a hue angle of 259.8 degrees, it sits comfortably in the purple spectrum.
When using this color as a background, text legibility must be considered. To prevent eye strain, #FFFFFF text pairs best with this hex code. You can view the detailed AAA and AA pass/fail metrics in the table below.
Color Space Conversions
HEX#24075F
RGB36, 7, 95
HSL259.8°, 86.3%, 20.0%
CMYK62%, 93%, 0%, 63%
HSV259.8°, 92.6%, 37.3%
LAB11.6, 36.5, -45.3
XYZ2.9, 1.4, 10.9
Decimal2361183
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
16.53:1
Text on #FFFFFF
AAA
1.27:1
Text on #000000
FAIL
15.80:1
Text on #F8FAFC
AAA
1.08:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #24075F;
}
.text-color {
color: #24075F;
}
.border-color {
border: 2px solid #24075F;
}