Color #310D4E Color / Colour Code #310D4E

    This page shows the hex color code for color #310d4e (#310D4E). The colour is a purple tone with 71% saturation and 18% lightness. Explore its conversions, colour palettes, gradients, accessibility data, and CSS code below.

    #310D4E

    Color Conversions

    HEX
    #310D4E
    RGB
    rgb(49, 13, 78)
    HSL
    hsl(273, 71%, 18%)
    HSV
    hsv(273, 83%, 31%)
    CMYK
    cmyk(37%, 83%, 0%, 69%)

    Accessibility Contrast

    WCAG contrast ratios for #310D4E against common backgrounds.

    Sample Text
    vs White (#FFFFFF)
    16.18:1
    AA PassAA Large PassAAA Pass
    Sample Text
    vs Black (#000000)
    1.30:1
    AA FailAA Large FailAAA Fail
    Sample Text
    vs Light Gray (#EEEEEE)
    13.94:1
    AA PassAA Large PassAAA Pass

    Complementary Colors

    #310D4E paired with its color wheel opposite for maximum contrast.

    Analogous Colors

    Hues at 243, 273, and 303 degrees for harmonious combinations.

    Triadic Palette

    Three colors at 273, 33, and 153 degrees.

    Color Palettes Using #310D4E

    Monochromatic Scale

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

    #290B41 #521683 #8925DA #B87CE9 #DBBEF4
    Warm Harmony

    Adjacent hues from 273 to 318 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.

    #943BDE #BD3BDE #DE3BD6 #DE3BAD
    Cool Contrast

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

    #8826D9 #77D926 #26D92F #26D988
    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.

    #CEB8E0 #E0B8CA #E0CEB8 #CAE0B8 #B8E0CE

    Shades & Tints of #310D4E

    Lightness variations at hue 273 and 71% saturation.

    CSS Gradients with #310D4E

    Purple to Green
    linear-gradient(135deg, #310d4e, #2b4e0d)
    Analogous Fade
    linear-gradient(90deg, #310d4e, #4e0d4b)
    Deep to Light
    linear-gradient(180deg, #310d4e, #d4b1f2)
    Tricolor Sweep
    linear-gradient(135deg, #310d4e, #4e310d, #0d4e31)

    Design Use Cases for #310D4E

    Vibrant Brand Color

    #310D4E has a strong 71% saturation that makes it ideal for brand identity elements. Use it for logos, primary call-to-action buttons, hero section accents, and marketing materials where visual impact matters. This saturation level is eye-catching without being harsh.

    Deep Accent & Text Color

    #310D4E at 18% 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

    #310D4E falls in the purple spectrum (hue 273). 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 #310D4E (hue 273) to its complement at hue 93. For a subtler effect, try pairing with an analogous color at hue 303. Use CSS: background: linear-gradient(135deg, #310d4e, #2b4e0d);

    CSS Code for #310D4E

    /* Background */
    background-color: #310d4e;
    background-color: rgb(49, 13, 78);
    background-color: hsl(273, 71%, 18%);
    /* Text */
    color: #310d4e;
    /* Border */
    border: 2px solid #310d4e;
    /* Shadow */
    box-shadow: 0 4px 14px rgba(49, 13, 78, 0.3);
    /* CSS Variable */
    --color-primary: 273 71% 18%;

    Similar Colors

    Colors visually similar to #310D4E based on RGB, lightness, and hue variations.

    Use This Color in Design Tools

    Apply #310D4E across image editing and color design tools.

    About Color #310D4E (#310D4E)

    #310D4E is a purple color (colour) with RGB channel values of 49 red, 13 green, and 78 blue. The blue channel is dominant by a ratio of 6.0:1 over the weakest channel. In HSL terms, the hue sits at 273 degrees with 71% saturation and 18% lightness, placing it in the cool range of the colour spectrum.

    The perceived brightness of #310D4E is 31/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 37% cyan, 83% magenta, 0% yellow, and 69% key (black).

    The WCAG contrast ratio of #310D4E against white is 16.18:1 and against black is 1.30: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 #2B4E0D creates maximum visual tension when paired with #310D4E. For more harmonious color combinations, use the analogous colours #110D4E and #4E0D4B, 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 #310D4E

    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 #310D4E?
    #310D4E is Color #310D4E, a purple color (colour) with RGB(49, 13, 78), HSL(273, 71%, 18%), and CMYK(37%, 83%, 0%, 69%). Its perceived brightness is 31/255.
    Is #310D4E accessible for text?
    Against white, #310D4E has a contrast ratio of 16.18:1 (passes AA for normal text). Against black, it has 1.30:1 (fails AA). Use the contrast checker tool for custom background pairings.
    What colours pair well with #310D4E?
    The complementary colour is #2B4E0D (hue 93). For subtle color combinations, use analogous colours #110D4E and #4E0D4B. The triadic palette adds #4E310D and #0D4E31 for vibrant variety.
    How do I use #310D4E in CSS?
    Use any format: color: #310d4e; or rgb(49, 13, 78); or hsl(273, 71%, 18%). For CSS custom properties: --color-primary: 273 71% 18%; 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.