darkslategray

#502252

Balanced

UI Preview

Pro

Conversions

RGB80, 34, 82
CMYK2, 59, 0, 68
HSL298°, 41%, 23%
LAB22, 28, -20
Closest Library Match
zinc-70092% Match

Readability

12.41On WhitePASS AA
1.69On BlackFAIL

For optimal readability, use White text on this background.

Magic Gradients

subtle
Copy CSS
vibrant
Copy CSS
rich
Copy CSS

About #502252

The hexadecimal color code #502252 is a dark, moderate shade of Purple (known as darkslategray). In the RGB color model, #502252 is comprised of 80 red, 34 green, and 82 blue. In the HSL color space, which is often used in digital design and color grading, it has a hue of 298 degrees, a saturation of 41%, and a lightness of 23%. This color has an approximate wavelength of 443 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 #502252.

Vision Simulation

ProtanopiaRed-blind
DeuteranopiaGreen-blind
TritanopiaBlue-blind