Home /Colors /#513F8D
#513F8D#513F8D

#513F8D color code is #513F8D. Use this page to get all code formats, explore shades and tints, and find colors that work with #513f8d.

ShadesTints
Preview
Text on White
White on Color
ShareSave to PinterestTweet

Explore #513F8D

#513F8D Accessibility & WCAG Contrast

Relative luminance of #513F8D is 0.0723. Its WCAG contrast ratio is 8.59:1 against white and 2.45:1 against black. Use the card with the higher ratio for body text.

The quick brown fox
#513F8D on white8.59:1AAA
The quick brown fox
#513F8D on black2.45:1Fail
The quick brown fox
White on #513F8D8.59:1AAA
The quick brown fox
Black on #513F8D2.45:1Fail

#513F8D — Frequently Asked Questions

What is the hex code for #513F8D?+
The hex code for #513F8D is #513F8D. In RGB it's rgb(81, 63, 141), and in HSL it's hsl(254, 38%, 40%).
What is the RGB value of #513F8D?+
#513F8D in RGB is (81, 63, 141). Written in CSS: rgb(81, 63, 141).
What is the CMYK value of #513F8D?+
#513F8D converts to CMYK(43%, 55%, 0%, 45%) for print. Hex equivalent is #513F8D.
Is #513f8d a warm or cool color?+
#513F8D (#513F8D) is a cool purple — its hue sits at 254° on the color wheel, placing it in the cool part of the spectrum.
What color family does #513f8d belong to?+
#513F8D belongs to the purple family. Its HSL is 254°, 38%, 40% — a cool tone within the broader purple group.
Is #513f8d accessible for body text on a white background?+
#513F8D on white reaches a WCAG contrast ratio of 8.59:1 — passes WCAG AAA for body text on white.
What is the closest Pantone match for #513f8d?+
The nearest Pantone match for #513F8D (#513F8D) is 7672 C Deep Royal Purple, calculated by Euclidean RGB distance over the Pantone Matching System.

How to use #513F8D in design

Practical guidance for using #513f8d (#513F8D) across four design contexts, derived from its hue, lightness, saturation, and WCAG contrast.

Web & UI design

Use #513F8D (#513F8D) as primary text or icon color on white backgrounds — at 8.6:1 contrast it passes WCAG AAA for body copy. Avoid placing #513f8d text on dark surfaces; the contrast drops below the AA threshold.

Branding & identity

As a brand color, #513F8D (#513F8D) reads as balanced and approachable and versatile across product tiers. It fits naturally into luxury, beauty, creative, premium subscription products. Pair it with a higher-contrast accent (warm if purple runs cool, cool if it runs warm) for visual hierarchy. Test legibility on both your logo and small UI text before locking it in — saturation that works on a 200px logo can feel overpowering at favicon scale.

Fashion & apparel

#513F8D flatters cool-leaning skin tones (pink, rosy, blue undertones) and works best in autumn/winter collections. Pair it with cool neutrals (charcoal, slate, off-white, black) and it works as a sophisticated alternative to navy. Deep cool tones photograph richly under indoor light and read as quiet luxury — strong choice for eveningwear.

Interior design

#513F8D works as either a primary wall color or a strong accent — versatile across most rooms. As a wall color it pairs with white trim and warm wood; as an accent (sofa, chair, large art) it lifts a neutral room without overwhelming it. Test a large swatch against your room's natural light at three times of day before committing — mid-tone colors shift more than light or dark colors do.