midnightblue

#311448

Balanced

UI Preview

Pro

Conversions

RGB49, 20, 72
CMYK32, 72, 0, 72
HSL273°, 57%, 18%
LAB13, 23, -27
Closest Library Match
slate-80093% Match

Readability

15.85On WhitePASS AA
1.32On BlackFAIL

For optimal readability, use White text on this background.

Magic Gradients

subtle
Copy CSS
vibrant
Copy CSS
rich
Copy CSS

About #311448

The hexadecimal color code #311448 is a very dark, moderate shade of Purple (known as midnightblue). In the RGB color model, #311448 is comprised of 49 red, 20 green, and 72 blue. In the HSL color space, which is often used in digital design and color grading, it has a hue of 273 degrees, a saturation of 57%, and a lightness of 18%. This color has an approximate wavelength of 460 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 #311448.

Vision Simulation

ProtanopiaRed-blind
DeuteranopiaGreen-blind
TritanopiaBlue-blind