#240F3A

A very dark, moderate purple closely aligning with Midnightblue.

About #240F3A

The hex code #240F3A represents a beautifully specific shade of purple. If you're using CSS, you might find it aligns closely with Midnightblue. This translates to an RGB value of rgb(36, 15, 58).

When sending designs containing this color to a printer, the CMYK values come into play. Its ink density profile breaks down to 38% cyan, 74% magenta, 0% yellow, and 77% black. 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. 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#240F3A
RGB36, 15, 58
HSL269.3°, 58.9%, 14.3%
CMYK38%, 74%, 0%, 77%
HSV269.3°, 74.1%, 22.7%
LAB9.2, 21.3, -23.7
XYZ1.7, 1.0, 4.1
Decimal2363194

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

17.44:1
Text on #FFFFFF
AAA
1.20:1
Text on #000000
FAIL
16.66:1
Text on #F8FAFC
AAA
1.02:1
Text on #0F172A
FAIL

CSS Implementation

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

Similar Colors

Midnightblue
#191970