midnightblue

#38225E

Balanced

UI Preview

Pro

Conversions

RGB56, 34, 94
CMYK40, 64, 0, 63
HSL262°, 47%, 25%
LAB19, 22, -33
Closest Library Match
slate-70093% Match

Readability

13.47On WhitePASS AA
1.55On BlackFAIL

For optimal readability, use White text on this background.

Magic Gradients

subtle
Copy CSS
vibrant
Copy CSS
rich
Copy CSS

About #38225E

The hexadecimal color code #38225E is a dark, moderate shade of Purple (known as midnightblue). In the RGB color model, #38225E is comprised of 56 red, 34 green, and 94 blue. In the HSL color space, which is often used in digital design and color grading, it has a hue of 262 degrees, a saturation of 47%, and a lightness of 25%. This color has an approximate wavelength of 468 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 #38225E.

Vision Simulation

ProtanopiaRed-blind
DeuteranopiaGreen-blind
TritanopiaBlue-blind