#240757

A very dark, vivid purple closely aligning with Midnightblue.

About #240757

Visually, #240757 is defined as a vivid purple. It is closely associated with the named CSS color Midnightblue. In the RGB color space, it consists of 36 red, 7 green, and 87 blue.

If you are designing for print, the four-color process is what matters most. This specific hue requires a mix of 59% C, 92% M, 0% Y, and 66% K. The HSL representation is 261.8° hue, 85.1% saturation, and 18.4% lightness.

Web Content Accessibility Guidelines (WCAG) dictate how we should use this color. Mathematical luminance calculations suggest that #FFFFFF text provides the most optimal reading experience. You can view the detailed AAA and AA pass/fail metrics in the table below.

Color Space Conversions

HEX#240757
RGB36, 7, 87
HSL261.8°, 85.1%, 18.4%
CMYK59%, 92%, 0%, 66%
HSV261.8°, 92.0%, 34.1%
LAB10.7, 34.2, -41.5
XYZ2.5, 1.2, 9.1
Decimal2361175

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

16.89:1
Text on #FFFFFF
AAA
1.24:1
Text on #000000
FAIL
16.15:1
Text on #F8FAFC
AAA
1.06:1
Text on #0F172A
FAIL

CSS Implementation

.bg-color { background-color: #240757; }
.text-color { color: #240757; }
.border-color { border: 2px solid #240757; }

Similar Colors

Midnightblue
#191970