#240F49
A very dark, moderate purple closely aligning with Midnightblue.
About #240F49
Visually, #240F49 is defined as a moderate purple. If you're using CSS, you might find it aligns closely with Midnightblue. To achieve this exact tint on a monitor, you would use an RGB mix of 36, 15, and 73.
For print applications, it's crucial to understand its CMYK makeup. To reproduce this shade on paper, a printer utilizes 51% cyan and 79% magenta inks. This makes it a relatively dark color when applied to physical surfaces.
Contrast ratios determine whether this color is safe for typography. The calculated luminance score dictates that #FFFFFF typography is the safest choice. Always test your color combinations using a contrast checker before publishing.
Color Space Conversions
HEX#240F49
RGB36, 15, 73
HSL261.7°, 65.9%, 17.3%
CMYK51%, 79%, 0%, 71%
HSV261.7°, 79.5%, 28.6%
LAB10.5, 25.9, -32.1
XYZ2.1, 1.2, 6.4
Decimal2363209
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
16.94:1
Text on #FFFFFF
AAA
1.24:1
Text on #000000
FAIL
16.19:1
Text on #F8FAFC
AAA
1.05:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #240F49;
}
.text-color {
color: #240F49;
}
.border-color {
border: 2px solid #240F49;
}