Color #520FB3 Color / Colour Code #520FB3

    This page shows the hex color code for color #520fb3 (#520FB3). The colour is a purple tone with 85% saturation and 38% lightness. Explore its conversions, colour palettes, gradients, accessibility data, and CSS code below.

    #520FB3

    Color Conversions

    HEX
    #520FB3
    RGB
    rgb(82, 15, 179)
    HSL
    hsl(265, 85%, 38%)
    HSV
    hsv(265, 92%, 70%)
    CMYK
    cmyk(54%, 92%, 0%, 30%)

    Accessibility Contrast

    WCAG contrast ratios for #520FB3 against common backgrounds.

    Sample Text
    vs White (#FFFFFF)
    10.11:1
    AA PassAA Large PassAAA Pass
    Sample Text
    vs Black (#000000)
    2.08:1
    AA FailAA Large FailAAA Fail
    Sample Text
    vs Light Gray (#EEEEEE)
    8.71:1
    AA PassAA Large PassAAA Pass

    Complementary Colors

    #520FB3 paired with its color wheel opposite for maximum contrast.

    Analogous Colors

    Hues at 235, 265, and 295 degrees for harmonious combinations.

    Triadic Palette

    Three colors at 265, 25, and 145 degrees.

    Color Palettes Using #520FB3

    Monochromatic Scale

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

    #210647 #420B8E #6D13EC #A871F4 #D3B8F9
    Warm Harmony

    Adjacent hues from 265 to 310 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.

    #7D30E8 #AB30E8 #D930E8 #E830C9
    Cool Contrast

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

    #7126D9 #8ED926 #35D926 #26D971
    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.

    #C9B8E0 #E0B8CF #E0C9B8 #CFE0B8 #B8E0C9

    Shades & Tints of #520FB3

    Lightness variations at hue 265 and 85% saturation.

    CSS Gradients with #520FB3

    Purple to Green
    linear-gradient(135deg, #520fb3, #6fb30f)
    Analogous Fade
    linear-gradient(90deg, #520fb3, #a60fb3)
    Deep to Light
    linear-gradient(180deg, #270755, #cbaaf8)
    Tricolor Sweep
    linear-gradient(135deg, #530fb3, #b3530f, #0fb353)

    Design Use Cases for #520FB3

    High-Impact Accent

    With 85% saturation, #520FB3 is highly vivid. Reserve this for elements that need maximum attention: primary action buttons, notification badges, error states, or promotional banners. Use sparingly alongside neutral tones to avoid visual fatigue.

    Primary Interface Color

    At 38% lightness, #520FB3 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

    #520FB3 falls in the purple spectrum (hue 265). 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 #520FB3 (hue 265) to its complement at hue 85. For a subtler effect, try pairing with an analogous color at hue 295. Use CSS: background: linear-gradient(135deg, #520fb3, #6fb30f);

    CSS Code for #520FB3

    /* Background */
    background-color: #520fb3;
    background-color: rgb(82, 15, 179);
    background-color: hsl(265, 85%, 38%);
    /* Text */
    color: #520fb3;
    /* Border */
    border: 2px solid #520fb3;
    /* Shadow */
    box-shadow: 0 4px 14px rgba(82, 15, 179, 0.3);
    /* CSS Variable */
    --color-primary: 265 85% 38%;

    Similar Colors

    Colors visually similar to #520FB3 based on RGB, lightness, and hue variations.

    Use This Color in Design Tools

    Apply #520FB3 across image editing and color design tools.

    About Color #520FB3 (#520FB3)

    #520FB3 is a purple color (colour) with RGB channel values of 82 red, 15 green, and 179 blue. The blue channel is dominant by a ratio of 11.9:1 over the weakest channel. In HSL terms, the hue sits at 265 degrees with 85% saturation and 38% lightness, placing it in the cool range of the colour spectrum.

    The perceived brightness of #520FB3 is 54/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 54% cyan, 92% magenta, 0% yellow, and 30% key (black).

    The WCAG contrast ratio of #520FB3 against white is 10.11:1 and against black is 2.08: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 #6FB30F creates maximum visual tension when paired with #520FB3. For more harmonious color combinations, use the analogous colours #0F1CB3 and #A60FB3, 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 #520FB3

    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 #520FB3?
    #520FB3 is Color #520FB3, a purple color (colour) with RGB(82, 15, 179), HSL(265, 85%, 38%), and CMYK(54%, 92%, 0%, 30%). Its perceived brightness is 54/255.
    Is #520FB3 accessible for text?
    Against white, #520FB3 has a contrast ratio of 10.11:1 (passes AA for normal text). Against black, it has 2.08:1 (fails AA). Use the contrast checker tool for custom background pairings.
    What colours pair well with #520FB3?
    The complementary colour is #6FB30F (hue 85). For subtle color combinations, use analogous colours #0F1CB3 and #A60FB3. The triadic palette adds #B3530F and #0FB353 for vibrant variety.
    How do I use #520FB3 in CSS?
    Use any format: color: #520fb3; or rgb(82, 15, 179); or hsl(265, 85%, 38%). For CSS custom properties: --color-primary: 265 85% 38%; 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.