midnightblue

#2A1050

Balanced

UI Preview

Pro

Conversions

RGB42, 16, 80
CMYK48, 80, 0, 69
HSL264°, 67%, 19%
LAB12, 25, -35
Closest Library Match
slate-80092% Match

Readability

16.29On WhitePASS AA
1.28On BlackFAIL

For optimal readability, use White text on this background.

Magic Gradients

subtle
Copy CSS
vibrant
Copy CSS
rich
Copy CSS

About #2A1050

The hexadecimal color code #2A1050 is a very dark, vibrant shade of Purple (known as midnightblue). In the RGB color model, #2A1050 is comprised of 42 red, 16 green, and 80 blue. In the HSL color space, which is often used in digital design and color grading, it has a hue of 264 degrees, a saturation of 67%, and a lightness of 19%. 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 vibrant 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 #2A1050.

Vision Simulation

ProtanopiaRed-blind
DeuteranopiaGreen-blind
TritanopiaBlue-blind