Color #512C8C Color / Colour Code #512C8C

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

    #512C8C

    Color Conversions

    HEX
    #512C8C
    RGB
    rgb(81, 44, 140)
    HSL
    hsl(263, 52%, 36%)
    HSV
    hsv(263, 69%, 55%)
    CMYK
    cmyk(42%, 69%, 0%, 45%)

    Accessibility Contrast

    WCAG contrast ratios for #512C8C against common backgrounds.

    Sample Text
    vs White (#FFFFFF)
    10.05:1
    AA PassAA Large PassAAA Pass
    Sample Text
    vs Black (#000000)
    2.09:1
    AA FailAA Large FailAAA Fail
    Sample Text
    vs Light Gray (#EEEEEE)
    8.67:1
    AA PassAA Large PassAAA Pass

    Complementary Colors

    #512C8C paired with its color wheel opposite for maximum contrast.

    Analogous Colors

    Hues at 233, 263, and 293 degrees for harmonious combinations.

    Triadic Palette

    Three colors at 263, 23, and 143 degrees.

    Color Palettes Using #512C8C

    Monochromatic Scale

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

    #22123A #432574 #703DC2 #A98BDA #D4C5ED
    Warm Harmony

    Adjacent hues from 263 to 308 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.

    #7E51C8 #9C51C8 #BA51C8 #C851B8
    Cool Contrast

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

    #703DC2 #8FC23D #4DC23D #3DC270
    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.

    #C7B8E0 #E0B8D1 #E0C7B8 #D1E0B8 #B8E0C7

    Shades & Tints of #512C8C

    Lightness variations at hue 263 and 52% saturation.

    CSS Gradients with #512C8C

    Purple to Green
    linear-gradient(135deg, #512c8c, #678c2c)
    Analogous Fade
    linear-gradient(90deg, #512c8c, #802c8c)
    Deep to Light
    linear-gradient(180deg, #281646, #ccb9e9)
    Tricolor Sweep
    linear-gradient(135deg, #512c8c, #8c512c, #2c8c51)

    Design Use Cases for #512C8C

    Balanced UI Color

    At 52% saturation, #512C8C 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, #512C8C 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

    #512C8C falls in the purple spectrum (hue 263). 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 #512C8C (hue 263) to its complement at hue 83. For a subtler effect, try pairing with an analogous color at hue 293. Use CSS: background: linear-gradient(135deg, #512c8c, #678c2c);

    CSS Code for #512C8C

    /* Background */
    background-color: #512c8c;
    background-color: rgb(81, 44, 140);
    background-color: hsl(263, 52%, 36%);
    /* Text */
    color: #512c8c;
    /* Border */
    border: 2px solid #512c8c;
    /* Shadow */
    box-shadow: 0 4px 14px rgba(81, 44, 140, 0.3);
    /* CSS Variable */
    --color-primary: 263 52% 36%;

    Similar Colors

    Colors visually similar to #512C8C based on RGB, lightness, and hue variations.

    Use This Color in Design Tools

    Apply #512C8C across image editing and color design tools.

    About Color #512C8C (#512C8C)

    #512C8C is a purple color (colour) with RGB channel values of 81 red, 44 green, and 140 blue. The blue channel is dominant by a ratio of 3.2:1 over the weakest channel. In HSL terms, the hue sits at 263 degrees with 52% saturation and 36% lightness, placing it in the cool range of the colour spectrum.

    The perceived brightness of #512C8C is 66/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 42% cyan, 69% magenta, 0% yellow, and 45% key (black).

    The WCAG contrast ratio of #512C8C against white is 10.05:1 and against black is 2.09: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 #678C2C creates maximum visual tension when paired with #512C8C. For more harmonious color combinations, use the analogous colours #2C378C and #802C8C, 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 #512C8C

    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 #512C8C?
    #512C8C is Color #512C8C, a purple color (colour) with RGB(81, 44, 140), HSL(263, 52%, 36%), and CMYK(42%, 69%, 0%, 45%). Its perceived brightness is 66/255.
    Is #512C8C accessible for text?
    Against white, #512C8C has a contrast ratio of 10.05:1 (passes AA for normal text). Against black, it has 2.09:1 (fails AA). Use the contrast checker tool for custom background pairings.
    What colours pair well with #512C8C?
    The complementary colour is #678C2C (hue 83). For subtle color combinations, use analogous colours #2C378C and #802C8C. The triadic palette adds #8C512C and #2C8C51 for vibrant variety.
    How do I use #512C8C in CSS?
    Use any format: color: #512c8c; or rgb(81, 44, 140); or hsl(263, 52%, 36%). For CSS custom properties: --color-primary: 263 52% 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.