Palette maker

Dark Blue and Dark Purple Color Combination: Palettes and Hex Codes

Dark blue and dark purple make a deep, cool pair that feels like a night sky over velvet. They sit close in darkness, so they work best as layered backgrounds with a pale or bright accent doing the contrast work.

Fresh ideas, made simple

A short line of body text to test how readable these colors are.

Get started

Text contrast

-

    On this page
    1. Hex codes
    2. Relationship
    3. Close colors
    4. Palettes
    5. Accents
    6. Accessibility
    7. Web and UI
    8. Branding
    9. Print
    10. Related pairs
    11. FAQ

    The strip and live preview above show both colors as background, text and button, with a contrast score for each. Use that as a quick check while you read, then use the sections below for exact codes, safe text colors, ready palettes and print advice.

    The exact codes for dark blue and dark purple

    Dark blue is the CSS named color darkblue: a fully saturated blue at about 27% lightness. Dark purple is much quieter, a plum that is almost black, with a violet cast and only 15% lightness.

    Color HEX RGB HSL CMYK (basic)
    Dark Blue 0, 0, 139 240°, 100%, 27% 100, 100, 0, 45
    Dark Purple 48, 25, 52 291°, 35%, 15% 8, 52, 0, 80

    The saturation gap is the main thing to notice. Dark blue is as vivid as a blue can be at that darkness, while dark purple is muted and smoky. That difference is what makes the pair interesting: one color glows a little, the other absorbs light.

    Why these two colors sit so close together

    The hues are 240° and 291°, so they are about 51° apart. That makes them analogous neighbors, and neighbors blend easily. Their relative luminance is also nearly the same (about 0.019 for the blue and 0.016 for the purple), which puts their contrast ratio at roughly 1.04:1.

    Contrast between the pair: about 1.04:1

    WCAG asks for at least 4.5:1 for normal text. These two colors look different but cannot read as text on each other.

    Flat jersey with dark blue sleeves, dark purple body and gold trim, with contrast ratios 1.04:1 and 11.4:1
    Dark blue and dark purple barely differ in darkness, so a light gold trim must carry the contrast.

    In practice, treat them like two layers of shadow. One can sit behind the other as a panel, a gradient stop or a border, but the legible content should come from a third, lighter color.

    How they differ from navy, midnight blue and indigo

    Navy is the nearest relative of dark blue. It is marginally darker and just as pure, so the two are easy to confuse on screen. Midnight blue adds a little red and gray, which makes it softer and more refined for big panels.

    What is the contrast ratio between #00008B and #301934?

    Both colors are very dark, so their luminance is almost identical and one cannot carry text on the other.

    Indigo is the bridge shade. It is lighter than the dark purple and clearly more violet than the dark blue, so it works well as a hover state or a mid-tone between the two. Dark purple is not eggplant or plum in the bright sense. It is closer to a blackberry shadow, and it behaves almost like a tinted black.

    Dark blue swatch beside navy, midnight blue and indigo swatches, each labeled with its hex code and difference
    Navy is a touch darker, midnight blue is grayer, and indigo is more violet than dark blue.

    Dark blue and dark purple palettes to copy

    Each palette below keeps both anchor colors and changes the supporting cast. Start from the one closest to your mood, then adjust the lightest color for your medium: pure white for screens, warm white for paper.

    Midnight Velvet

    Moody brand sites, album covers and evening event invitations.

    Gold Hour

    Luxury packaging, award night graphics and premium app headers.

    Deep Sea Orchid

    Dashboards and data charts that need one cool, fresh highlight.

    Quiet Ink

    Dark mode interfaces with calm surfaces and readable text.

    Midnight Velvet is the calmest, Gold Hour is the most luxurious, and Quiet Ink is built for dark mode interfaces. Copy the codes straight into your design tool or CSS variables.

    Accent colors that bring the pair to life

    Because the two anchors are so close in darkness, accents carry the personality. These are the ones I reach for first:

    • Gold for buttons and small highlights, and the classic luxury move. See the black and gold scheme for how gold behaves against very dark grounds.
    • Lavender for body text and thin icons.
    • Teal for links, chart lines and a cooler, techier feel.
    • Silver for dividers, metallic foil and subtle borders.
    • Warm white for light sections that break up a dark page.

    If you want a bolder, more playful note, a yellow accent follows the same logic as the purple and yellow palette, where the purple makes yellow look warmer and richer. Keep accents to roughly 10% of the layout so the dark tones stay dominant.

    Text contrast and WCAG: what actually passes

    Light text is the answer on both colors. White measures about 15.3:1 on dark blue and about 16.0:1 on dark purple. Lavender gives about 12.4:1 and 13.0:1. Gold reaches about 10.9:1 on the blue and 11.4:1 on the purple, which clears even the stricter AAA level of 7:1 for normal text.

    :root {
      --blue: #00008B;
      --purple: #301934;
      --text: #E6E6FA;
      --accent: #FFD700;
    }
    
    .hero {
      background: linear-gradient(135deg, var(--blue), var(--purple));
      color: var(--text);
    }
    
    .button {
      background: var(--accent);
      color: var(--purple);
    }

    The button above puts dark purple text on gold, which measures about 11.4:1, so it stays readable even at small sizes. On one client dashboard I once found grey-blue labels sitting on a purple card, and they looked fine on my bright monitor but failed badly on a phone outdoors. Swapping them to lavender fixed it without changing the mood.

    Try this: Take your current dark background and paste in white, lavender and gold as three text samples. Squint at the screen from arm’s length and note which one you read first. That is your primary text color.

    Using the pair in websites and apps

    Dark purple makes a better large background than dark blue. Pure is intensely saturated, and big areas of it can feel heavy and slightly vibrating on screens. Use dark purple for pages and cards, and keep dark blue for focused elements like hero bands, buttons, active tabs and headers.

    A simple layering order keeps the interface clear:

    1. Page background: dark purple (or something slightly darker for depth).
    2. Cards and panels: a gradient or flat fill that moves toward dark blue.
    3. Primary action: gold or lavender, never a blue or purple.
    4. Body text: lavender or white.
    5. Links: teal or a pale periwinkle such as .

    A gradient from to has a midpoint around , a rich indigo that looks great behind a headline. For a related dark scheme with a neutral base, the blue and black combination shows how much further you can push the darkness.

    Branding, fashion and interiors

    In branding, the pair says depth, trust and a little mystery. It suits technology, finance, music, cosmetics and anything after-dark: late-night events, observatories, premium spirits. Dark blue brings reliability, dark purple brings creativity and luxury, and together they avoid the corporate feel of blue alone.

    In fashion, think velvet, satin and wool. Dark purple works as a rich evening alternative to black, and dark blue anchors tailoring. A grey bridge helps in daily wear, which is why the navy and grey combination is a useful companion reference.

    For interiors, use dark purple on an accent wall or in textiles, and dark blue for upholstery or cabinetry. Pair both with a warm neutral and metallic hardware so a small room does not feel closed in. A cooler, deeper neutral like graphite also grounds the scheme without adding another hue.

    The CMYK values in the table above are basic mathematical conversions. Real presses use ICC profiles, and saturated blues like often land duller or more purple on paper than they do on screen. Dark purple tends to print closer to a rich black with a violet tint.

    Which text color is the safest choice on a dark blue and dark purple banner?

    Light text gives ratios above 12:1 on both colors, while mid-tones land far below the 4.5:1 minimum.

    I learned this on a brochure project where the blue headline on the screen proof looked electric, but the printed sheet came back noticeably flatter and more violet. After that I started requesting a physical proof for any job that relies on a saturated dark blue. If your dark purple needs to stay distinct from plain black, build it with a visible percentage of magenta and avoid very small type in all four inks.

    Lighter partners and neighboring color pairs

    When the pair feels too heavy, lighten the supporting colors rather than the anchors. A soft light blue and light purple set gives you airy tints that echo the same hues, and works well for backgrounds, illustrations and infographics.

    For more energy, move toward warmer purples. The pink and purple pairing shifts the mood from midnight to dusk, and it still plays well with a dark blue ground when you want something more romantic than formal.

    Shades that keep this combination working

    Dark Blue and Dark Purple Color Combination: questions people ask

    What color do dark blue and dark purple make when mixed?

    You get a deep blue-violet that leans toward indigo. Averaging the two screen values gives roughly #180D5F, and in paint the exact result depends on your pigments and the ratio you use.

    Do dark blue and dark purple go together?

    Yes. They sit about 51 degrees apart on the hue wheel, so they read as neighbors and feel harmonious. Because they are so close in darkness, add a light or bright accent to create contrast.

    Can I put dark blue text on a dark purple background?

    No. The two colors measure about 1.04:1, far below the WCAG minimum of 4.5:1 for normal text. Use white, lavender or gold for text on either color.

    What accent color works best with dark blue and dark purple?

    Gold #FFD700 is the strongest choice for calls to action, and lavender #E6E6FA is the safest for body text. Teal #3FA7C4 adds a fresh, modern note for links and charts.

    What are the hex codes for dark blue and dark purple?

    Dark blue is #00008B (RGB 0, 0, 139) and dark purple is #301934 (RGB 48, 25, 52). Dark blue is the standard CSS named color darkblue.

    Keep exploring