Color #4F174D Color / Colour Code #4F174D

    This page shows the hex color code for color #4f174d (#4F174D). The colour is a purple tone with 55% saturation and 20% lightness. Explore its conversions, colour palettes, gradients, accessibility data, and CSS code below.

    #4F174D

    Color Conversions

    HEX
    #4F174D
    RGB
    rgb(79, 23, 77)
    HSL
    hsl(302, 55%, 20%)
    HSV
    hsv(302, 71%, 31%)
    CMYK
    cmyk(0%, 71%, 3%, 69%)

    Accessibility Contrast

    WCAG contrast ratios for #4F174D against common backgrounds.

    Sample Text
    vs White (#FFFFFF)
    13.44:1
    AA PassAA Large PassAAA Pass
    Sample Text
    vs Black (#000000)
    1.56:1
    AA FailAA Large FailAAA Fail
    Sample Text
    vs Light Gray (#EEEEEE)
    11.59:1
    AA PassAA Large PassAAA Pass

    Complementary Colors

    #4F174D paired with its color wheel opposite for maximum contrast.

    Analogous Colors

    Hues at 272, 302, and 332 degrees for harmonious combinations.

    Triadic Palette

    Three colors at 302, 62, and 182 degrees.

    Color Palettes Using #4F174D

    Monochromatic Scale

    Five shades at lightness levels 15% through 85% while keeping hue at 302 and saturation at 55%. Use the darkest shade for text and the lightest for backgrounds to build a cohesive single-hue design system.

    #3B113A #772274 #C639C1 #DD88DA #EEC4EC
    Warm Harmony

    Adjacent hues from 302 to 347 degrees create a warm, unified palette. This analogous scheme works for marketing materials, seasonal campaigns, and any design that needs visual warmth without clashing colors.

    #CB4DC7 #CB4DA8 #CB4D88 #CB4D68
    Cool Contrast

    Combines the base color at hue 302 with its complement at 122 and two adjacent cool tones. This split-complementary approach provides strong visual contrast while remaining more balanced than a pure complementary scheme.

    #C639C1 #39C63E #39C684 #39C1C6
    Pastel Variation

    Five evenly spaced hues at 40% saturation and 80% lightness. Pastels are gentle on the eyes and work well for dashboards, onboarding screens, category tags, and any interface where multiple distinct colors are needed without visual aggression.

    #E0B8DF #E0B9B8 #DFE0B8 #B8E0B9 #B8DFE0

    Shades & Tints of #4F174D

    Lightness variations at hue 302 and 55% saturation.

    CSS Gradients with #4F174D

    Purple to Green
    linear-gradient(135deg, #4f174d, #174f19)
    Analogous Fade
    linear-gradient(90deg, #4f174d, #4f1731)
    Deep to Light
    linear-gradient(180deg, #471545, #eab8e9)
    Tricolor Sweep
    linear-gradient(135deg, #4f174d, #4d4f17, #174d4f)

    Design Use Cases for #4F174D

    Balanced UI Color

    At 55% saturation, #4F174D strikes a balance between vibrancy and restraint. This makes it versatile for primary UI elements like navigation bars, card headers, and form accents. It draws attention without overwhelming adjacent content.

    Deep Accent & Text Color

    #4F174D at 20% lightness is dark enough for readable body text on light backgrounds while retaining its purple character. Use for headings, emphasized text, or deep accent borders. It provides contrast without the harshness of pure black.

    Creativity & Premium Positioning

    #4F174D falls in the purple spectrum (hue 302). Purple communicates creativity, wisdom, and luxury. It is effective for premium product highlights, creative portfolio accents, meditation app interfaces, and rewards program branding. Purple occupies a unique space between the energy of red and the calm of blue.

    Gradient Pairing

    Create a gradient from #4F174D (hue 302) to its complement at hue 122. For a subtler effect, try pairing with an analogous color at hue 332. Use CSS: background: linear-gradient(135deg, #4f174d, #174f19);

    CSS Code for #4F174D

    /* Background */
    background-color: #4f174d;
    background-color: rgb(79, 23, 77);
    background-color: hsl(302, 55%, 20%);
    /* Text */
    color: #4f174d;
    /* Border */
    border: 2px solid #4f174d;
    /* Shadow */
    box-shadow: 0 4px 14px rgba(79, 23, 77, 0.3);
    /* CSS Variable */
    --color-primary: 302 55% 20%;

    Similar Colors

    Colors visually similar to #4F174D based on RGB, lightness, and hue variations.

    Use This Color in Design Tools

    Apply #4F174D across image editing and color design tools.

    About Color #4F174D (#4F174D)

    #4F174D is a purple color (colour) with RGB channel values of 79 red, 23 green, and 77 blue. The red channel is dominant by a ratio of 3.4:1 over the weakest channel. In HSL terms, the hue sits at 302 degrees with 55% saturation and 20% lightness, placing it in the warm range of the colour spectrum.

    The perceived brightness of #4F174D is 46/255 using the ITU-R BT.601 luma formula (0.299R + 0.587G + 0.114B). This appears dark to the human eye, so pair it with light text for adequate readability. For print production, the CMYK equivalent is 0% cyan, 71% magenta, 3% yellow, and 69% key (black).

    The WCAG contrast ratio of #4F174D against white is 13.44:1 and against black is 1.56:1. This exceeds the AAA requirement (7:1) for normal text on white, making it excellent for body text and small UI labels on light backgrounds.

    The complementary colour #174F19 creates maximum visual tension when paired with #4F174D. For more harmonious color combinations, use the analogous colours #35174F and #4F1731, which sit 30 degrees on either side of the hue wheel. To build a complete design system, start with the monochromatic scale above for consistent shade variations, then add one complementary or triadic accent for interactive elements.

    How to Explore Color #4F174D

    1. Enter your color value in HEX format.
    2. The tool converts it to RGB, HSL, CMYK format in real time.
    3. Copy the converted value to your clipboard.

    Color Converter · Contrast Checker

    What is HEX to RGB, HSL, CMYK color conversion

    Converting from HEX to RGB, HSL, CMYK translates a color value between two different color models. Different color models are used in web design (HEX, RGB), print (CMYK), and color theory (HSL, HSV).

    Related Tools & Colors

    Frequently Asked Questions

    What color / colour is #4F174D?
    #4F174D is Color #4F174D, a purple color (colour) with RGB(79, 23, 77), HSL(302, 55%, 20%), and CMYK(0%, 71%, 3%, 69%). Its perceived brightness is 46/255.
    Is #4F174D accessible for text?
    Against white, #4F174D has a contrast ratio of 13.44:1 (passes AA for normal text). Against black, it has 1.56:1 (fails AA). Use the contrast checker tool for custom background pairings.
    What colours pair well with #4F174D?
    The complementary colour is #174F19 (hue 122). For subtle color combinations, use analogous colours #35174F and #4F1731. The triadic palette adds #4D4F17 and #174D4F for vibrant variety.
    How do I use #4F174D in CSS?
    Use any format: color: #4f174d; or rgb(79, 23, 77); or hsl(302, 55%, 20%). For CSS custom properties: --color-primary: 302 55% 20%; then use it as hsl(var(--color-primary)).
    Is this color / colour explorer free?
    Yes, completely free with no signup required. All colour calculations run in your browser. You can explore any valid hex color code, not just the pre-generated palette.