#hexpedia

Closest to Purple

#5D1451

Color conversions

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

FormatValueCopy
HEX5D1451
HEX with ##5D1451
RGBrgb(93, 20, 81)
RGBArgba(93, 20, 81, 1)
HSLhsl(309.86 64.6% 22.16%)
HSLAhsla(309.86, 64.6%, 22.16%, 1)
HSVhsv(309.86, 78.49%, 36.47%)
CMYKcmyk(0%, 78.49%, 12.9%, 63.53%)
OKLCHoklch(34.14% 0.1268 335.56)

Closest named matches

Color modifications

Suggested pairings

Use this color in CSS

Accessibility quick-check

White text

12.47:1

AAA normal

Black text

1.68:1

Decorative only

Reference notes

The hex value #5D1451 sits in the magenta range with a deep appearance and clear chroma. Measured through common web color formats, the channels resolve to rgb(93 20 81) and an HSL lightness of 22%, 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.