#240749
A very dark, vivid purple closely aligning with Midnightblue.
About #240749
The hex code #240749 represents a beautifully specific shade of purple. Its closest recognized web color is Midnightblue. In the RGB color space, it consists of 36 red, 7 green, and 73 blue.
Translating this color to physical media requires the CMYK color model. To reproduce this shade on paper, a printer utilizes 51% cyan and 90% magenta inks. With a hue angle of 266.4 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#240749
RGB36, 7, 73
HSL266.4°, 82.5%, 15.7%
CMYK51%, 90%, 0%, 71%
HSV266.4°, 90.4%, 28.6%
LAB9.1, 30.2, -34.5
XYZ2.0, 1.0, 6.4
Decimal2361161
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
17.48:1
Text on #FFFFFF
AAA
1.20:1
Text on #000000
FAIL
16.70:1
Text on #F8FAFC
AAA
1.02:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #240749;
}
.text-color {
color: #240749;
}
.border-color {
border: 2px solid #240749;
}