Home /Colors /#5F4B8B
#5F4B8B#5F4B8B

#5F4B8B color code is #5F4B8B. Use this page to get all code formats, explore shades and tints, and find colors that work with #5f4b8b.

ShadesTints
Preview
Text on White
White on Color
ShareSave to PinterestTweet

Explore #5F4B8B

#5F4B8B Accessibility & WCAG Contrast

Relative luminance of #5F4B8B is 0.0933. Its WCAG contrast ratio is 7.33:1 against white and 2.87:1 against black. Use the card with the higher ratio for body text.

The quick brown fox
#5F4B8B on white7.33:1AAA
The quick brown fox
#5F4B8B on black2.87:1Fail
The quick brown fox
White on #5F4B8B7.33:1AAA
The quick brown fox
Black on #5F4B8B2.87:1Fail

#5F4B8B — Frequently Asked Questions

What is the hex code for #5F4B8B?+
The hex code for #5F4B8B is #5F4B8B. In RGB it's rgb(95, 75, 139), and in HSL it's hsl(259, 30%, 42%).
What is the RGB value of #5F4B8B?+
#5F4B8B in RGB is (95, 75, 139). Written in CSS: rgb(95, 75, 139).
What is the CMYK value of #5F4B8B?+
#5F4B8B converts to CMYK(32%, 46%, 0%, 45%) for print. Hex equivalent is #5F4B8B.
Is #5f4b8b a warm or cool color?+
#5F4B8B (#5F4B8B) is a cool purple — its hue sits at 259° on the color wheel, placing it in the cool part of the spectrum.
What color family does #5f4b8b belong to?+
#5F4B8B belongs to the purple family. Its HSL is 259°, 30%, 42% — a cool tone within the broader purple group.
Is #5f4b8b accessible for body text on a white background?+
#5F4B8B on white reaches a WCAG contrast ratio of 7.33:1 — passes WCAG AAA for body text on white.
What is the closest Pantone match for #5f4b8b?+
The nearest Pantone match for #5F4B8B (#5F4B8B) is 18-3838 Ultra Violet, calculated by Euclidean RGB distance over the Pantone Matching System.

How to use #5F4B8B in design

Practical guidance for using #5f4b8b (#5F4B8B) across four design contexts, derived from its hue, lightness, saturation, and WCAG contrast.

Web & UI design

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

Branding & identity

As a brand color, #5F4B8B (#5F4B8B) reads as considered and grown-up and versatile across product tiers. It fits naturally into luxury, beauty, creative, premium subscription products. Pair it with a single bold accent so it doesn't read as too quiet. 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

#5F4B8B 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

#5F4B8B 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.