midnightblue

#2A1C40

Balanced

UI Preview

Pro

Conversions

RGB42, 28, 64
CMYK34, 56, 0, 75
HSL263°, 39%, 18%
LAB14, 14, -21
Closest Library Match
slate-80096% Match

Readability

15.68On WhitePASS AA
1.33On BlackFAIL

For optimal readability, use White text on this background.

Magic Gradients

subtle
Copy CSS
vibrant
Copy CSS
rich
Copy CSS

About #2A1C40

The hexadecimal color code #2A1C40 is a very dark, muted shade of Purple (known as midnightblue). In the RGB color model, #2A1C40 is comprised of 42 red, 28 green, and 64 blue. In the HSL color space, which is often used in digital design and color grading, it has a hue of 263 degrees, a saturation of 39%, and a lightness of 18%. This color has an approximate wavelength of 467 nm. The closest web-safe color is often utilized in web design, user interfaces (UI), and vector graphics to create muted 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 #2A1C40.

Vision Simulation

ProtanopiaRed-blind
DeuteranopiaGreen-blind
TritanopiaBlue-blind