Color #140D21 Color / Colour Code #140D21

    This page shows the hex color code for color #140d21 (#140D21). The colour is a purple tone with 43% saturation and 9% lightness. Explore its conversions, colour palettes, gradients, accessibility data, and CSS code below.

    #140D21

    Color Conversions

    HEX
    #140D21
    RGB
    rgb(20, 13, 33)
    HSL
    hsl(261, 43%, 9%)
    HSV
    hsv(261, 61%, 13%)
    CMYK
    cmyk(39%, 61%, 0%, 87%)

    Accessibility Contrast

    WCAG contrast ratios for #140D21 against common backgrounds.

    Sample Text
    vs White (#FFFFFF)
    18.93:1
    AA PassAA Large PassAAA Pass
    Sample Text
    vs Black (#000000)
    1.11:1
    AA FailAA Large FailAAA Fail
    Sample Text
    vs Light Gray (#EEEEEE)
    16.32:1
    AA PassAA Large PassAAA Pass

    Complementary Colors

    #140D21 paired with its color wheel opposite for maximum contrast.

    Analogous Colors

    Hues at 231, 261, and 291 degrees for harmonious combinations.

    Triadic Palette

    Three colors at 261, 21, and 141 degrees.

    Color Palettes Using #140D21

    Monochromatic Scale

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

    #211637 #432C6D #6F49B6 #A992D3 #D4C8E9
    Warm Harmony

    Adjacent hues from 261 to 306 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.

    #7D5BBE #965BBE #AF5BBE #BE5BB4
    Cool Contrast

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

    #6F49B6 #90B649 #59B649 #49B66F
    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.

    #C6B8E0 #E0B8D2 #E0C6B8 #D2E0B8 #B8E0C6

    Shades & Tints of #140D21

    Lightness variations at hue 261 and 43% saturation.

    CSS Gradients with #140D21

    Purple to Green
    linear-gradient(135deg, #140d21, #1a210d)
    Analogous Fade
    linear-gradient(90deg, #140d21, #1e0d21)
    Deep to Light
    linear-gradient(180deg, #281a42, #cbbde5)
    Tricolor Sweep
    linear-gradient(135deg, #140d21, #21140d, #0d2114)

    Design Use Cases for #140D21

    Balanced UI Color

    At 43% saturation, #140D21 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.

    Dark Mode Background

    At just 9% lightness, #140D21 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

    #140D21 falls in the purple spectrum (hue 261). 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 #140D21 (hue 261) to its complement at hue 81. For a subtler effect, try pairing with an analogous color at hue 291. Use CSS: background: linear-gradient(135deg, #140d21, #1a210d);

    CSS Code for #140D21

    /* Background */
    background-color: #140d21;
    background-color: rgb(20, 13, 33);
    background-color: hsl(261, 43%, 9%);
    /* Text */
    color: #140d21;
    /* Border */
    border: 2px solid #140d21;
    /* Shadow */
    box-shadow: 0 4px 14px rgba(20, 13, 33, 0.3);
    /* CSS Variable */
    --color-primary: 261 43% 9%;

    Similar Colors

    Colors visually similar to #140D21 based on RGB, lightness, and hue variations.

    Use This Color in Design Tools

    Apply #140D21 across image editing and color design tools.

    About Color #140D21 (#140D21)

    #140D21 is a purple color (colour) with RGB channel values of 20 red, 13 green, and 33 blue. The blue channel is dominant by a ratio of 2.5:1 over the weakest channel. In HSL terms, the hue sits at 261 degrees with 43% saturation and 9% lightness, placing it in the cool range of the colour spectrum.

    The perceived brightness of #140D21 is 17/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 39% cyan, 61% magenta, 0% yellow, and 87% key (black).

    The WCAG contrast ratio of #140D21 against white is 18.93:1 and against black is 1.11: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 #1A210D creates maximum visual tension when paired with #140D21. For more harmonious color combinations, use the analogous colours #0D1021 and #1E0D21, 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 #140D21

    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 #140D21?
    #140D21 is Color #140D21, a purple color (colour) with RGB(20, 13, 33), HSL(261, 43%, 9%), and CMYK(39%, 61%, 0%, 87%). Its perceived brightness is 17/255.
    Is #140D21 accessible for text?
    Against white, #140D21 has a contrast ratio of 18.93:1 (passes AA for normal text). Against black, it has 1.11:1 (fails AA). Use the contrast checker tool for custom background pairings.
    What colours pair well with #140D21?
    The complementary colour is #1A210D (hue 81). For subtle color combinations, use analogous colours #0D1021 and #1E0D21. The triadic palette adds #21140D and #0D2114 for vibrant variety.
    How do I use #140D21 in CSS?
    Use any format: color: #140d21; or rgb(20, 13, 33); or hsl(261, 43%, 9%). For CSS custom properties: --color-primary: 261 43% 9%; 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.