#hexpedia

Closest to Midnight Blue

#4A044E

Color conversions

Reference values for common CSS, design, and accessibility formats.

FormatValueCopy
HEX4A044E
HEX with ##4A044E
RGBrgb(74, 4, 78)
RGBArgba(74, 4, 78, 1)
HSLhsl(296.76 90.24% 16.08%)
HSLAhsla(296.76, 90.24%, 16.08%, 1)
HSVhsv(296.76, 94.87%, 30.59%)
CMYKcmyk(5.13%, 94.87%, 0%, 69.41%)
OKLCHoklch(29.32% 0.1309 325.66)

Closest named matches

Color modifications

Suggested pairings

Use this color in CSS

Accessibility quick-check

White text

14.8:1

AAA normal

Black text

1.42:1

Decorative only

Reference notes

The hex value #4A044E sits in the magenta range with a very deep appearance and saturated chroma. Measured through common web color formats, the channels resolve to rgb(74 4 78) and an HSL lightness of 16%, which explains its visual density. The balanced cast matters because neighboring colors can make the same hex feel sharper, calmer, or more neutral than it appears in isolation. Because web color is device-dependent, treat the numeric conversion table as the stable reference and use the visual swatch as a quick sanity check. The linked variants and pairings give nearby colors for systematic palettes, while the CSS Forge links let the same value move directly into CSS experiments. For brand-adjacent work, compare the closest named colors before reusing it, because a familiar name can change how stakeholders describe the same swatch. Designers can use it in interfaces that need weight, contrast, or a more formal visual register. When combined with lighter or darker variants, it gives enough range for borders, fills, and active states.