Color #20003B Color / Colour Code #20003B

    This page shows the hex color code for color #20003b (#20003B). The colour is a purple tone with 100% saturation and 12% lightness. Explore its conversions, colour palettes, gradients, accessibility data, and CSS code below.

    #20003B

    Color Conversions

    HEX
    #20003B
    RGB
    rgb(32, 0, 59)
    HSL
    hsl(273, 100%, 12%)
    HSV
    hsv(273, 100%, 23%)
    CMYK
    cmyk(46%, 100%, 0%, 77%)

    Accessibility Contrast

    WCAG contrast ratios for #20003B against common backgrounds.

    Sample Text
    vs White (#FFFFFF)
    18.67:1
    AA PassAA Large PassAAA Pass
    Sample Text
    vs Black (#000000)
    1.12:1
    AA FailAA Large FailAAA Fail
    Sample Text
    vs Light Gray (#EEEEEE)
    16.09:1
    AA PassAA Large PassAAA Pass

    Complementary Colors

    #20003B 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 #20003B

    Monochromatic Scale

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

    #2A004D #540099 #8C00FF #BA66FF #DDB3FF
    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.

    #9530E8 #C330E8 #E830DF #E830B1
    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 #20003B

    Lightness variations at hue 273 and 100% saturation.

    CSS Gradients with #20003B

    Purple to Green
    linear-gradient(135deg, #20003b, #1c3d00)
    Analogous Fade
    linear-gradient(90deg, #20003b, #3d003a)
    Deep to Light
    linear-gradient(180deg, #32005c, #d6a3ff)
    Tricolor Sweep
    linear-gradient(135deg, #22003d, #3d2200, #003d22)

    Design Use Cases for #20003B

    High-Impact Accent

    With 100% saturation, #20003B 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.

    Dark Mode Background

    At just 12% lightness, #20003B works as a dark mode background or overlay color. Dark backgrounds reduce eye strain in low-light environments and make bright accent colors pop. Pair with light text (minimum 4.5:1 contrast ratio) for readability.

    Creativity & Premium Positioning

    #20003B 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 #20003B (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, #20003b, #1c3d00);

    CSS Code for #20003B

    /* Background */
    background-color: #20003b;
    background-color: rgb(32, 0, 59);
    background-color: hsl(273, 100%, 12%);
    /* Text */
    color: #20003b;
    /* Border */
    border: 2px solid #20003b;
    /* Shadow */
    box-shadow: 0 4px 14px rgba(32, 0, 59, 0.3);
    /* CSS Variable */
    --color-primary: 273 100% 12%;

    Similar Colors

    Colors visually similar to #20003B based on RGB, lightness, and hue variations.

    Use This Color in Design Tools

    Apply #20003B across image editing and color design tools.

    About Color #20003B (#20003B)

    #20003B is a purple color (colour) with RGB channel values of 32 red, 0 green, and 59 blue. The blue channel is dominant by a ratio of 59.0:1 over the weakest channel. In HSL terms, the hue sits at 273 degrees with 100% saturation and 12% lightness, placing it in the cool range of the colour spectrum.

    The perceived brightness of #20003B is 16/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 46% cyan, 100% magenta, 0% yellow, and 77% key (black).

    The WCAG contrast ratio of #20003B against white is 18.67:1 and against black is 1.12: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 #1C3D00 creates maximum visual tension when paired with #20003B. For more harmonious color combinations, use the analogous colours #03003D and #3D003A, 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 #20003B

    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 #20003B?
    #20003B is Color #20003B, a purple color (colour) with RGB(32, 0, 59), HSL(273, 100%, 12%), and CMYK(46%, 100%, 0%, 77%). Its perceived brightness is 16/255.
    Is #20003B accessible for text?
    Against white, #20003B has a contrast ratio of 18.67:1 (passes AA for normal text). Against black, it has 1.12:1 (fails AA). Use the contrast checker tool for custom background pairings.
    What colours pair well with #20003B?
    The complementary colour is #1C3D00 (hue 93). For subtle color combinations, use analogous colours #03003D and #3D003A. The triadic palette adds #3D2200 and #003D22 for vibrant variety.
    How do I use #20003B in CSS?
    Use any format: color: #20003b; or rgb(32, 0, 59); or hsl(273, 100%, 12%). For CSS custom properties: --color-primary: 273 100% 12%; 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.