#240766
A dark, vivid purple closely aligning with Midnightblue.
About #240766
The hex code #240766 represents a beautifully specific shade of purple. Designers often compare it to the standard color Midnightblue. This translates to an RGB value of rgb(36, 7, 102).
While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). This specific hue requires a mix of 65% C, 93% M, 0% Y, and 60% K. Always request a physical proof before doing a large print run with this exact code.
When using this color as a background, text legibility must be considered. Mathematical luminance calculations suggest that #FFFFFF text provides the most optimal reading experience. Always test your color combinations using a contrast checker before publishing.
Color Space Conversions
HEX#240766
RGB36, 7, 102
HSL258.3°, 87.2%, 21.4%
CMYK65%, 93%, 0%, 60%
HSV258.3°, 93.1%, 40.0%
LAB12.5, 38.5, -48.5
XYZ3.2, 1.5, 12.7
Decimal2361190
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
16.19:1
Text on #FFFFFF
AAA
1.30:1
Text on #000000
FAIL
15.47:1
Text on #F8FAFC
AAA
1.10:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #240766;
}
.text-color {
color: #240766;
}
.border-color {
border: 2px solid #240766;
}