Home /Colors /#42247E
#42247E#42247E

#42247E color code is #42247E. Use this page to get all code formats, explore shades and tints, and find colors that work with #42247e.

ShadesTints
Preview
Text on White
White on Color
ShareSave to PinterestTweet

Explore #42247E

#42247E Accessibility & WCAG Contrast

Relative luminance of #42247E is 0.0393. Its WCAG contrast ratio is 11.76:1 against white and 1.79:1 against black. Use the card with the higher ratio for body text.

The quick brown fox
#42247E on white11.76:1AAA
The quick brown fox
#42247E on black1.79:1Fail
The quick brown fox
White on #42247E11.76:1AAA
The quick brown fox
Black on #42247E1.79:1Fail

#42247E — Frequently Asked Questions

What is the hex code for #42247E?+
The hex code for #42247E is #42247E. In RGB it's rgb(66, 36, 126), and in HSL it's hsl(260, 56%, 32%).
What is the RGB value of #42247E?+
#42247E in RGB is (66, 36, 126). Written in CSS: rgb(66, 36, 126).
What is the CMYK value of #42247E?+
#42247E converts to CMYK(48%, 71%, 0%, 51%) for print. Hex equivalent is #42247E.
Is #42247e a warm or cool color?+
#42247E (#42247E) is a cool purple — its hue sits at 260° on the color wheel, placing it in the cool part of the spectrum.
What color family does #42247e belong to?+
#42247E belongs to the purple family. Its HSL is 260°, 56%, 32% — a cool tone within the broader purple group.
Is #42247e accessible for body text on a white background?+
#42247E on white reaches a WCAG contrast ratio of 11.76:1 — passes WCAG AAA for body text on white.
What is the closest Pantone match for #42247e?+
The nearest Pantone match for #42247E (#42247E) is 3369 C Dark Violet, calculated by Euclidean RGB distance over the Pantone Matching System.

How to use #42247E in design

Practical guidance for using #42247e (#42247E) across four design contexts, derived from its hue, lightness, saturation, and WCAG contrast.

Web & UI design

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

Branding & identity

As a brand color, #42247E (#42247E) 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

#42247E 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

#42247E 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.