midnightblue

#241540

Balanced

UI Preview

Pro

Conversions

RGB36, 21, 64
CMYK44, 67, 0, 75
HSL261°, 51%, 17%
LAB11, 17, -25
Closest Library Match
slate-80095% Match

Readability

16.71On WhitePASS AA
1.25On BlackFAIL

For optimal readability, use White text on this background.

Magic Gradients

subtle
Copy CSS
vibrant
Copy CSS
rich
Copy CSS

About #241540

The hexadecimal color code #241540 is a very dark, moderate shade of Purple (known as midnightblue). In the RGB color model, #241540 is comprised of 36 red, 21 green, and 64 blue. In the HSL color space, which is often used in digital design and color grading, it has a hue of 261 degrees, a saturation of 51%, and a lightness of 17%. This color has an approximate wavelength of 469 nm. The closest web-safe color is often utilized in web design, user interfaces (UI), and vector graphics to create moderate Purple atmospheres. Designers searching for Purple color schemes often pair this with its complementary color or use it as an accent against neutral backgrounds. It is commonly used in digital design for backgrounds, typography, and accent elements. When paired with its complementary color in the palette below, it creates a high-contrast visual hierarchy. Engineers can implement this color using the CSS hex code #241540.

Vision Simulation

ProtanopiaRed-blind
DeuteranopiaGreen-blind
TritanopiaBlue-blind