Color #1E172E Color / Colour Code #1E172E

    This page shows the hex color code for color #1e172e (#1E172E). The colour is a purple tone with 33% saturation and 14% lightness. Explore its conversions, colour palettes, gradients, accessibility data, and CSS code below.

    #1E172E

    Color Conversions

    HEX
    #1E172E
    RGB
    rgb(30, 23, 46)
    HSL
    hsl(258, 33%, 14%)
    HSV
    hsv(258, 50%, 18%)
    CMYK
    cmyk(35%, 50%, 0%, 82%)

    Accessibility Contrast

    WCAG contrast ratios for #1E172E against common backgrounds.

    Sample Text
    vs White (#FFFFFF)
    17.25:1
    AA PassAA Large PassAAA Pass
    Sample Text
    vs Black (#000000)
    1.22:1
    AA FailAA Large FailAAA Fail
    Sample Text
    vs Light Gray (#EEEEEE)
    14.87:1
    AA PassAA Large PassAAA Pass

    Complementary Colors

    #1E172E paired with its color wheel opposite for maximum contrast.

    Analogous Colors

    Hues at 228, 258, and 288 degrees for harmonious combinations.

    Triadic Palette

    Three colors at 258, 18, and 138 degrees.

    Color Palettes Using #1E172E

    Monochromatic Scale

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

    #211A33 #423366 #6F55AA #A899CC #D4CCE5
    Warm Harmony

    Adjacent hues from 258 to 303 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.

    #7D66B2 #9066B2 #A366B2 #B266AE
    Cool Contrast

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

    #6F55AA #90AA55 #66AA55 #55AA6F
    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.

    #C4B8E0 #E0B8D4 #E0C4B8 #D4E0B8 #B8E0C4

    Shades & Tints of #1E172E

    Lightness variations at hue 258 and 33% saturation.

    CSS Gradients with #1E172E

    Purple to Green
    linear-gradient(135deg, #1e172e, #282f18)
    Analogous Fade
    linear-gradient(90deg, #1e172e, #2b182f)
    Deep to Light
    linear-gradient(180deg, #281f3d, #cbc2e0)
    Tricolor Sweep
    linear-gradient(135deg, #1f182f, #2f1f18, #182f1f)

    Design Use Cases for #1E172E

    Balanced UI Color

    At 33% saturation, #1E172E 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 14% lightness, #1E172E 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

    #1E172E falls in the purple spectrum (hue 258). 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 #1E172E (hue 258) to its complement at hue 78. For a subtler effect, try pairing with an analogous color at hue 288. Use CSS: background: linear-gradient(135deg, #1e172e, #282f18);

    CSS Code for #1E172E

    /* Background */
    background-color: #1e172e;
    background-color: rgb(30, 23, 46);
    background-color: hsl(258, 33%, 14%);
    /* Text */
    color: #1e172e;
    /* Border */
    border: 2px solid #1e172e;
    /* Shadow */
    box-shadow: 0 4px 14px rgba(30, 23, 46, 0.3);
    /* CSS Variable */
    --color-primary: 258 33% 14%;

    Similar Colors

    Colors visually similar to #1E172E based on RGB, lightness, and hue variations.

    Use This Color in Design Tools

    Apply #1E172E across image editing and color design tools.

    About Color #1E172E (#1E172E)

    #1E172E is a purple color (colour) with RGB channel values of 30 red, 23 green, and 46 blue. The blue channel is dominant with a relatively balanced channel distribution. In HSL terms, the hue sits at 258 degrees with 33% saturation and 14% lightness, placing it in the cool range of the colour spectrum.

    The perceived brightness of #1E172E is 28/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 35% cyan, 50% magenta, 0% yellow, and 82% key (black).

    The WCAG contrast ratio of #1E172E against white is 17.25:1 and against black is 1.22: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 #282F18 creates maximum visual tension when paired with #1E172E. For more harmonious color combinations, use the analogous colours #181D2F and #2B182F, 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 #1E172E

    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 #1E172E?
    #1E172E is Color #1E172E, a purple color (colour) with RGB(30, 23, 46), HSL(258, 33%, 14%), and CMYK(35%, 50%, 0%, 82%). Its perceived brightness is 28/255.
    Is #1E172E accessible for text?
    Against white, #1E172E has a contrast ratio of 17.25:1 (passes AA for normal text). Against black, it has 1.22:1 (fails AA). Use the contrast checker tool for custom background pairings.
    What colours pair well with #1E172E?
    The complementary colour is #282F18 (hue 78). For subtle color combinations, use analogous colours #181D2F and #2B182F. The triadic palette adds #2F1F18 and #182F1F for vibrant variety.
    How do I use #1E172E in CSS?
    Use any format: color: #1e172e; or rgb(30, 23, 46); or hsl(258, 33%, 14%). For CSS custom properties: --color-primary: 258 33% 14%; 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.