midnightblue

#340047

VibrantElectricDeep

UI Preview

Pro

Conversions

RGB52, 0, 71
CMYK27, 100, 0, 72
HSL284°, 100%, 14%
LAB10, 33, -31
Closest Library Match
slate-80089% Match

Readability

16.97On WhitePASS AA
1.23On BlackFAIL

For optimal readability, use White text on this background.

Magic Gradients

subtle
Copy CSS
vibrant
Copy CSS
rich
Copy CSS

About #340047

The hexadecimal color code #340047 is a very dark, intense shade of Purple (known as midnightblue). In the RGB color model, #340047 is comprised of 52 red, 0 green, and 71 blue. In the HSL color space, which is often used in digital design and color grading, it has a hue of 284 degrees, a saturation of 100%, and a lightness of 14%. This color has an approximate wavelength of 453 nm. The closest web-safe color is often utilized in web design, user interfaces (UI), and vector graphics to create intense 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 #340047.

Vision Simulation

ProtanopiaRed-blind
DeuteranopiaGreen-blind
TritanopiaBlue-blind