Color #331D34 Color / Colour Code #331D34

    This page shows the hex color code for color #331d34 (#331D34). The colour is a purple tone with 28% saturation and 16% lightness. Explore its conversions, colour palettes, gradients, accessibility data, and CSS code below.

    #331D34

    Color Conversions

    HEX
    #331D34
    RGB
    rgb(51, 29, 52)
    HSL
    hsl(297, 28%, 16%)
    HSV
    hsv(297, 44%, 20%)
    CMYK
    cmyk(2%, 44%, 0%, 80%)

    Accessibility Contrast

    WCAG contrast ratios for #331D34 against common backgrounds.

    Sample Text
    vs White (#FFFFFF)
    15.37:1
    AA PassAA Large PassAAA Pass
    Sample Text
    vs Black (#000000)
    1.37:1
    AA FailAA Large FailAAA Fail
    Sample Text
    vs Light Gray (#EEEEEE)
    13.25:1
    AA PassAA Large PassAAA Pass

    Complementary Colors

    #331D34 paired with its color wheel opposite for maximum contrast.

    Analogous Colors

    Hues at 267, 297, and 327 degrees for harmonious combinations.

    Triadic Palette

    Three colors at 297, 57, and 177 degrees.

    Color Palettes Using #331D34

    Monochromatic Scale

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

    #301C31 #603762 #A05CA3 #C69DC8 #E2CEE3
    Warm Harmony

    Adjacent hues from 297 to 342 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.

    #A96CAC #AC6CA0 #AC6C8F #AC6C7F
    Cool Contrast

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

    #A05CA3 #5FA35C #5CA37C #5CA3A0
    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.

    #DEB8E0 #E0B8BA #E0DEB8 #BAE0B8 #B8E0DE

    Shades & Tints of #331D34

    Lightness variations at hue 297 and 28% saturation.

    CSS Gradients with #331D34

    Purple to Green
    linear-gradient(135deg, #331d34, #1f341d)
    Analogous Fade
    linear-gradient(90deg, #331d34, #341d2a)
    Deep to Light
    linear-gradient(180deg, #39213b, #ddc4de)
    Tricolor Sweep
    linear-gradient(135deg, #331d34, #34331d, #1d3433)

    Design Use Cases for #331D34

    Muted Accent Color

    With 28% saturation, #331D34 has a subtle, sophisticated quality. This level of desaturation works well for secondary buttons, inactive states, subtle borders, and backgrounds that need a hint of color without being distracting. Muted colors communicate restraint and professionalism.

    Deep Accent & Text Color

    #331D34 at 16% 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

    #331D34 falls in the purple spectrum (hue 297). 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 #331D34 (hue 297) to its complement at hue 117. For a subtler effect, try pairing with an analogous color at hue 327. Use CSS: background: linear-gradient(135deg, #331d34, #1f341d);

    CSS Code for #331D34

    /* Background */
    background-color: #331d34;
    background-color: rgb(51, 29, 52);
    background-color: hsl(297, 28%, 16%);
    /* Text */
    color: #331d34;
    /* Border */
    border: 2px solid #331d34;
    /* Shadow */
    box-shadow: 0 4px 14px rgba(51, 29, 52, 0.3);
    /* CSS Variable */
    --color-primary: 297 28% 16%;

    Similar Colors

    Colors visually similar to #331D34 based on RGB, lightness, and hue variations.

    Use This Color in Design Tools

    Apply #331D34 across image editing and color design tools.

    About Color #331D34 (#331D34)

    #331D34 is a purple color (colour) with RGB channel values of 51 red, 29 green, and 52 blue. The blue channel is dominant with a relatively balanced channel distribution. In HSL terms, the hue sits at 297 degrees with 28% saturation and 16% lightness, placing it in the cool range of the colour spectrum.

    The perceived brightness of #331D34 is 38/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 2% cyan, 44% magenta, 0% yellow, and 80% key (black).

    The WCAG contrast ratio of #331D34 against white is 15.37:1 and against black is 1.37: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 #1F341D creates maximum visual tension when paired with #331D34. For more harmonious color combinations, use the analogous colours #281D34 and #341D2A, 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 #331D34

    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 #331D34?
    #331D34 is Color #331D34, a purple color (colour) with RGB(51, 29, 52), HSL(297, 28%, 16%), and CMYK(2%, 44%, 0%, 80%). Its perceived brightness is 38/255.
    Is #331D34 accessible for text?
    Against white, #331D34 has a contrast ratio of 15.37:1 (passes AA for normal text). Against black, it has 1.37:1 (fails AA). Use the contrast checker tool for custom background pairings.
    What colours pair well with #331D34?
    The complementary colour is #1F341D (hue 117). For subtle color combinations, use analogous colours #281D34 and #341D2A. The triadic palette adds #34331D and #1D3433 for vibrant variety.
    How do I use #331D34 in CSS?
    Use any format: color: #331d34; or rgb(51, 29, 52); or hsl(297, 28%, 16%). For CSS custom properties: --color-primary: 297 28% 16%; 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.