Color #240E28 Color / Colour Code #240E28

    This page shows the hex color code for color #240e28 (#240E28). The colour is a purple tone with 48% saturation and 11% lightness. Explore its conversions, colour palettes, gradients, accessibility data, and CSS code below.

    #240E28

    Color Conversions

    HEX
    #240E28
    RGB
    rgb(36, 14, 40)
    HSL
    hsl(291, 48%, 11%)
    HSV
    hsv(291, 65%, 16%)
    CMYK
    cmyk(10%, 65%, 0%, 84%)

    Accessibility Contrast

    WCAG contrast ratios for #240E28 against common backgrounds.

    Sample Text
    vs White (#FFFFFF)
    17.97:1
    AA PassAA Large PassAAA Pass
    Sample Text
    vs Black (#000000)
    1.17:1
    AA FailAA Large FailAAA Fail
    Sample Text
    vs Light Gray (#EEEEEE)
    15.49:1
    AA PassAA Large PassAAA Pass

    Complementary Colors

    #240E28 paired with its color wheel opposite for maximum contrast.

    Analogous Colors

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

    Triadic Palette

    Three colors at 291, 51, and 171 degrees.

    Color Palettes Using #240E28

    Monochromatic Scale

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

    #331439 #662871 #AA42BD #CC8ED7 #E6C6EB
    Warm Harmony

    Adjacent hues from 291 to 336 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.

    #B355C3 #C355B8 #C3559D #C35581
    Cool Contrast

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

    #AA42BD #55BD42 #42BD6D #42BDAA
    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.

    #DAB8E0 #E0B8BE #E0DAB8 #BEE0B8 #B8E0DA

    Shades & Tints of #240E28

    Lightness variations at hue 291 and 48% saturation.

    CSS Gradients with #240E28

    Purple to Green
    linear-gradient(135deg, #240e28, #132a0f)
    Analogous Fade
    linear-gradient(90deg, #240e28, #2a0f20)
    Deep to Light
    linear-gradient(180deg, #3d1844, #e1bbe7)
    Tricolor Sweep
    linear-gradient(135deg, #250f2a, #2a250f, #0f2a25)

    Design Use Cases for #240E28

    Balanced UI Color

    At 48% saturation, #240E28 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 11% lightness, #240E28 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

    #240E28 falls in the purple spectrum (hue 291). 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 #240E28 (hue 291) to its complement at hue 111. For a subtler effect, try pairing with an analogous color at hue 321. Use CSS: background: linear-gradient(135deg, #240e28, #132a0f);

    CSS Code for #240E28

    /* Background */
    background-color: #240e28;
    background-color: rgb(36, 14, 40);
    background-color: hsl(291, 48%, 11%);
    /* Text */
    color: #240e28;
    /* Border */
    border: 2px solid #240e28;
    /* Shadow */
    box-shadow: 0 4px 14px rgba(36, 14, 40, 0.3);
    /* CSS Variable */
    --color-primary: 291 48% 11%;

    Similar Colors

    Colors visually similar to #240E28 based on RGB, lightness, and hue variations.

    Use This Color in Design Tools

    Apply #240E28 across image editing and color design tools.

    About Color #240E28 (#240E28)

    #240E28 is a purple color (colour) with RGB channel values of 36 red, 14 green, and 40 blue. The blue channel is dominant by a ratio of 2.9:1 over the weakest channel. In HSL terms, the hue sits at 291 degrees with 48% saturation and 11% lightness, placing it in the cool range of the colour spectrum.

    The perceived brightness of #240E28 is 24/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 10% cyan, 65% magenta, 0% yellow, and 84% key (black).

    The WCAG contrast ratio of #240E28 against white is 17.97:1 and against black is 1.17: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 #132A0F creates maximum visual tension when paired with #240E28. For more harmonious color combinations, use the analogous colours #180F2A and #2A0F20, 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 #240E28

    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 #240E28?
    #240E28 is Color #240E28, a purple color (colour) with RGB(36, 14, 40), HSL(291, 48%, 11%), and CMYK(10%, 65%, 0%, 84%). Its perceived brightness is 24/255.
    Is #240E28 accessible for text?
    Against white, #240E28 has a contrast ratio of 17.97:1 (passes AA for normal text). Against black, it has 1.17:1 (fails AA). Use the contrast checker tool for custom background pairings.
    What colours pair well with #240E28?
    The complementary colour is #132A0F (hue 111). For subtle color combinations, use analogous colours #180F2A and #2A0F20. The triadic palette adds #2A250F and #0F2A25 for vibrant variety.
    How do I use #240E28 in CSS?
    Use any format: color: #240e28; or rgb(36, 14, 40); or hsl(291, 48%, 11%). For CSS custom properties: --color-primary: 291 48% 11%; 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.