graf1x

Indigo and MediumPurple

Analogous color combination with 3.72:1 contrast ratio

#380282
#9370DB

Color Values

Indigo
HEX #380282
RGB 56, 2, 130
HSL 265, 97%, 26%
MediumPurple
HEX #9370DB
RGB 147, 112, 219
HSL 260, 60%, 65%

Harmony: Analogous

These colors sit beside each other on the wheel, so the pairing feels calm and cohesive. Analogous schemes are easy on the eye and work well for gradients, backgrounds, and designs that want to feel settled rather than energetic.

The hue angle between Indigo and MediumPurple is 5 degrees. You can explore these relationships interactively in our Color Wheel Tool.

WCAG Contrast

3.72:1
Indigo background with MediumPurple text
AA large text only

UI Preview

Indigo surface

Sample text on a indigo background demonstrates readability and visual hierarchy.

MediumPurple surface

Sample text on a mediumpurple background demonstrates readability and visual hierarchy.

Design Tokens

CSS Variables

:root {
  --color-a: #380282;
  --color-b: #9370DB;
  --color-a-rgb: 56, 2, 130;
  --color-b-rgb: 147, 112, 219;
}

JSON

{
  "name": "Indigo and MediumPurple",
  "colors": [
    {
      "name": "Indigo",
      "hex": "#380282",
      "rgb": [
        56,
        2,
        130
      ]
    },
    {
      "name": "MediumPurple",
      "hex": "#9370DB",
      "rgb": [
        147,
        112,
        219
      ]
    }
  ],
  "harmony": "Analogous",
  "contrastRatio": 3.72
}

Explore These Colors

Frequently Asked Questions

Do indigo and mediumpurple go together?

Yes. Indigo and MediumPurple form a analogous color combination. These colors sit beside each other on the wheel, so the pairing feels calm and cohesive. Analogous schemes are easy on the eye and work well for gradients, backgrounds, and designs that want to feel settled rather than energetic. The pairing has a WCAG contrast ratio of 3.72:1, which passes AA for large text but not for body text.

What is the contrast ratio between indigo and mediumpurple?

The WCAG 2.1 contrast ratio between Indigo (#380282) and MediumPurple (#9370DB) is 3.72:1. This passes AA for large text (18pt+ or 14pt+ bold) but not for normal-sized body text.

How do I use indigo and mediumpurple in design?

A safe starting point is the 60/30/10 rule: give one color about 60 percent of the surface area, the other about 30 percent, and reserve the remaining 10 percent for an accent or neutral. Because analogous colors blend naturally, you can use them in more equal proportions without visual conflict. Test the result with our Contrast Checker if text is involved.

What are the hex and RGB values for indigo and mediumpurple?

Indigo has the hex code #380282 and RGB values rgb(56, 2, 130). MediumPurple has the hex code #9370DB and RGB values rgb(147, 112, 219). You can copy these directly into CSS or use the design tokens provided on this page.