#240F50

A very dark, moderate purple closely aligning with Midnightblue.

About #240F50

The precise color #240F50 is an excellent choice for modern design projects. Designers often compare it to the standard color Midnightblue. This translates to an RGB value of rgb(36, 15, 80).

While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). This specific hue requires a mix of 55% C, 81% M, 0% Y, and 69% K. With a hue angle of 259.4 degrees, it sits comfortably in the purple spectrum.

From a UX and accessibility standpoint, contrast is paramount. The calculated luminance score dictates that #FFFFFF typography is the safest choice. Strict adherence to these ratios protects visually impaired users from unreadable interfaces.

Color Space Conversions

HEX#240F50
RGB36, 15, 80
HSL259.4°, 68.4%, 18.6%
CMYK55%, 81%, 0%, 69%
HSV259.4°, 81.2%, 31.4%
LAB11.2, 28.1, -35.8
XYZ2.3, 1.3, 7.7
Decimal2363216

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

16.68:1
Text on #FFFFFF
AAA
1.26:1
Text on #000000
FAIL
15.94:1
Text on #F8FAFC
AAA
1.07:1
Text on #0F172A
FAIL

CSS Implementation

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

Similar Colors

Midnightblue
#191970