Color #4D2D8B Color / Colour Code #4D2D8B

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

    #4D2D8B

    Color Conversions

    HEX
    #4D2D8B
    RGB
    rgb(77, 45, 139)
    HSL
    hsl(260, 51%, 36%)
    HSV
    hsv(260, 68%, 55%)
    CMYK
    cmyk(45%, 68%, 0%, 45%)

    Accessibility Contrast

    WCAG contrast ratios for #4D2D8B against common backgrounds.

    Sample Text
    vs White (#FFFFFF)
    10.18:1
    AA PassAA Large PassAAA Pass
    Sample Text
    vs Black (#000000)
    2.06:1
    AA FailAA Large FailAAA Fail
    Sample Text
    vs Light Gray (#EEEEEE)
    8.77:1
    AA PassAA Large PassAAA Pass

    Complementary Colors

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

    Analogous Colors

    Hues at 230, 260, and 290 degrees for harmonious combinations.

    Triadic Palette

    Three colors at 260, 20, and 140 degrees.

    Color Palettes Using #4D2D8B

    Monochromatic Scale

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

    #20133A #3F2574 #6A3EC1 #A58BDA #D2C5EC
    Warm Harmony

    Adjacent hues from 260 to 305 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.

    #7952C7 #9652C7 #B352C7 #C752BD
    Cool Contrast

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

    #6A3EC1 #95C13E #54C13E #3EC16A
    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.

    #C5B8E0 #E0B8D3 #E0C5B8 #D3E0B8 #B8E0C5

    Shades & Tints of #4D2D8B

    Lightness variations at hue 260 and 51% saturation.

    CSS Gradients with #4D2D8B

    Purple to Green
    linear-gradient(135deg, #4d2d8b, #6b8b2d)
    Analogous Fade
    linear-gradient(90deg, #4d2d8b, #7b2d8b)
    Deep to Light
    linear-gradient(180deg, #261645, #c9bae9)
    Tricolor Sweep
    linear-gradient(135deg, #4c2d8b, #8b4c2d, #2d8b4c)

    Design Use Cases for #4D2D8B

    Balanced UI Color

    At 51% saturation, #4D2D8B 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.

    Primary Interface Color

    At 36% lightness, #4D2D8B is in the mid-range, making it ideal for interactive elements like buttons, links, and selected states. This lightness level ensures good contrast against both light and dark adjacent elements in most layouts.

    Creativity & Premium Positioning

    #4D2D8B falls in the purple spectrum (hue 260). 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 #4D2D8B (hue 260) to its complement at hue 80. For a subtler effect, try pairing with an analogous color at hue 290. Use CSS: background: linear-gradient(135deg, #4d2d8b, #6b8b2d);

    CSS Code for #4D2D8B

    /* Background */
    background-color: #4d2d8b;
    background-color: rgb(77, 45, 139);
    background-color: hsl(260, 51%, 36%);
    /* Text */
    color: #4d2d8b;
    /* Border */
    border: 2px solid #4d2d8b;
    /* Shadow */
    box-shadow: 0 4px 14px rgba(77, 45, 139, 0.3);
    /* CSS Variable */
    --color-primary: 260 51% 36%;

    Similar Colors

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

    Use This Color in Design Tools

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

    About Color #4D2D8B (#4D2D8B)

    #4D2D8B is a purple color (colour) with RGB channel values of 77 red, 45 green, and 139 blue. The blue channel is dominant by a ratio of 3.1:1 over the weakest channel. In HSL terms, the hue sits at 260 degrees with 51% saturation and 36% lightness, placing it in the cool range of the colour spectrum.

    The perceived brightness of #4D2D8B is 65/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 45% cyan, 68% magenta, 0% yellow, and 45% key (black).

    The WCAG contrast ratio of #4D2D8B against white is 10.18:1 and against black is 2.06: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 #6B8B2D creates maximum visual tension when paired with #4D2D8B. For more harmonious color combinations, use the analogous colours #2D3D8B and #7B2D8B, 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 #4D2D8B

    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 #4D2D8B?
    #4D2D8B is Color #4D2D8B, a purple color (colour) with RGB(77, 45, 139), HSL(260, 51%, 36%), and CMYK(45%, 68%, 0%, 45%). Its perceived brightness is 65/255.
    Is #4D2D8B accessible for text?
    Against white, #4D2D8B has a contrast ratio of 10.18:1 (passes AA for normal text). Against black, it has 2.06:1 (fails AA). Use the contrast checker tool for custom background pairings.
    What colours pair well with #4D2D8B?
    The complementary colour is #6B8B2D (hue 80). For subtle color combinations, use analogous colours #2D3D8B and #7B2D8B. The triadic palette adds #8B4C2D and #2D8B4C for vibrant variety.
    How do I use #4D2D8B in CSS?
    Use any format: color: #4d2d8b; or rgb(77, 45, 139); or hsl(260, 51%, 36%). For CSS custom properties: --color-primary: 260 51% 36%; 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.