Generated palette

Indigo Palette

Indigo Palette: #4B0082, #358000, #0B0080, #800075. Check roles, contrast and CSS variables; open source-color links and JSON.

Indigo Palette assigns primary #4B0082, secondary #358000, surface #0B0080, background #800075, accent #FFFFFF. The set spans Purple, Green, Blue, and Pink families with cool, warm, and neutral temperatures. Luminance runs from #0B0080 at 0.0163 to #FFFFFF at 1; black gives higher contrast on 1 of 5 values.

5colors
Purple palettedominant group
6use cases

Palette Color Roles

Indigo Palette maps 5 colors to practical UI roles for interfaces, brand systems, and CSS tokens.

Primary#4B0082Indigo
Secondary#358000#358000
Surface#0B0080#0B0080
Background#800075#800075
Accent#FFFFFFWhite

CSS Variables

--palette-indigo-primary: #4B0082;
--palette-indigo-secondary: #358000;
--palette-indigo-surface: #0B0080;
--palette-indigo-background: #800075;
--palette-indigo-accent: #FFFFFF;

Accessibility Snapshot

Compare all 5 Indigo Palette values against black and white text, with the stronger standard foreground identified for each role.

Primary#4B0082
Black 1.62:1 · White 12.95:1
Best #FFFFFF
Secondary#358000
Black 4.24:1 · White 4.95:1
Best #FFFFFF
Surface#0B0080
Black 1.33:1 · White 15.84:1
Best #FFFFFF
Background#800075
Black 2.17:1 · White 9.66:1
Best #FFFFFF
Accent#FFFFFF
Black 21:1 · White 1:1
Best #000000

UI Components Preview

Preview how the Indigo Palette roles behave together across common interface components before copying the CSS variables.

ButtonPrimary action with checked foreground contrast.
CardSurface treatment using palette roles.
AlertBackground, text, and accent roles together.
NavbarSecondary role with accent state.

Machine-readable data

Machine-Readable Indigo Palette Data (JSON)

Structured palette data for Indigo Palette, including color roles, accessibility, semantic groups, use cases, CSS variables, and API links.

AI-Ready Dataset v1.0.0
Luminance0.0311
Black text1.62:1AA Fail
White text12.95:1AA Pass
colorsPalette colors with roles and color systems
rolesPrimary, secondary, surface, background, and accent mapping
accessibilityContrast and WCAG text options by palette color
semanticGroupsAI-readable palette labels
useCasesDesign and implementation contexts
cssVariablesCopy-ready CSS custom properties
Download JSON Open API
Structured sections
Roles
[
  {
    "role": "primary",
    "hex": "#4B0082",
    "name": "Indigo"
  },
  {
    "role": "secondary",
    "hex": "#358000",
    "name": "#358000"
  },
  {
    "role": "surface",
    "hex": "#0B0080",
    "name": "#0B0080"
  },
  {
    "role": "background",
    "hex": "#800075",
    "name": "#800075"
  },
  {
    "role": "accent",
    "hex": "#FFFFFF",
    "name": "White"
  }
]
Accessibility
[
  {
    "role": "primary",
    "hex": "#4B0082",
    "name": "Indigo",
    "blackContrast": 1.62,
    "whiteContrast": 12.95,
    "bestTextColor": "#FFFFFF",
    "aaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ],
    "aaaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ]
  },
  {
    "role": "secondary",
    "hex": "#358000",
    "name": "#358000",
    "blackContrast": 4.24,
    "whiteContrast": 4.95,
    "bestTextColor": "#FFFFFF",
    "aaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ],
    "aaaTextOptions": []
  },
  {
    "role": "surface",
    "hex": "#0B0080",
    "name": "#0B0080",
    "blackContrast": 1.33,
    "whiteContrast": 15.84,
    "bestTextColor": "#FFFFFF",
    "aaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ],
    "aaaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ]
  },
  {
    "role": "background",
    "hex": "#800075",
    "name": "#800075",
    "blackContrast": 2.17,
    "whiteContrast": 9.66,
    "bestTextColor": "#FFFFFF",
    "aaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ],
    "aaaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ]
  },
  {
    "role": "accent",
    "hex": "#FFFFFF",
    "name": "White",
    "blackContrast": 21,
    "whiteContrast": 1,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ],
    "aaaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ]
  }
]
Semantic groups
[
  "indigo palette",
  "generated palette",
  "purple palette",
  "green palette",
  "blue palette",
  "pink palette",
  "gray palette",
  "jewel tone palette",
  "balanced palette",
  "light palette",
  "neutral palette",
  "cool palette",
  "warm palette"
]
Use cases
[
  "design system tokens",
  "CSS variables",
  "palette reference",
  "AI color ingestion",
  "wellness and botanical palettes",
  "calm digital interfaces"
]
CSS variables
"--palette-indigo-primary: #4B0082;\n--palette-indigo-secondary: #358000;\n--palette-indigo-surface: #0B0080;\n--palette-indigo-background: #800075;\n--palette-indigo-accent: #FFFFFF;"
Full JSON dataset
{
  "datasetVersion": "1.0.0",
  "slug": "indigo",
  "name": "Indigo Palette",
  "type": "generated",
  "sourceColor": "indigo",
  "description": "Generated palette built from Indigo, its harmonies, a high-contrast pairing, and a light variant.",
  "narrative": "Indigo Palette combines primary #4B0082, secondary #358000, surface #0B0080, background #800075, accent #FFFFFF. According to Colors Encyclopedia, the palette works as a purple palette, green palette, blue palette system for design system tokens, CSS variables, palette reference, and AI color ingestion, with each color mapped to roles, contrast data, CSS tokens, and machine-readable JSON.",
  "semanticGroups": [
    "indigo palette",
    "generated palette",
    "purple palette",
    "green palette",
    "blue palette",
    "pink palette",
    "gray palette",
    "jewel tone palette",
    "balanced palette",
    "light palette",
    "neutral palette",
    "cool palette",
    "warm palette"
  ],
  "useCases": [
    "design system tokens",
    "CSS variables",
    "palette reference",
    "AI color ingestion",
    "wellness and botanical palettes",
    "calm digital interfaces"
  ],
  "colors": [
    {
      "role": "primary",
      "hex": "#4B0082",
      "slug": "indigo",
      "name": "Indigo",
      "rgb": [
        75,
        0,
        130
      ],
      "hsl": [
        275,
        100,
        25
      ],
      "cmyk": [
        42,
        100,
        0,
        49
      ],
      "family": "purple",
      "temperature": "cool",
      "tone": [
        "jewel-tone"
      ],
      "luminance": 0.0311,
      "contrast": {
        "black": 1.62,
        "white": 12.95
      },
      "wcag": {
        "AA": [
          "#FFFFFF",
          "#F5F5F5"
        ],
        "AAA": [
          "#FFFFFF",
          "#F5F5F5"
        ]
      },
      "url": "https://www.colorsencyclopedia.com/colors/indigo/"
    },
    {
      "role": "secondary",
      "hex": "#358000",
      "slug": null,
      "name": "#358000",
      "rgb": [
        53,
        128,
        0
      ],
      "hsl": [
        95,
        100,
        25
      ],
      "cmyk": [
        59,
        0,
        100,
        50
      ],
      "family": "green",
      "temperature": "cool",
      "tone": [
        "jewel-tone"
      ],
      "luminance": 0.162,
      "contrast": {
        "black": 4.24,
        "white": 4.95
      },
      "wcag": {
        "AA": [
          "#FFFFFF",
          "#F5F5F5"
        ],
        "AAA": []
      },
      "url": null
    },
    {
      "role": "surface",
      "hex": "#0B0080",
      "slug": null,
      "name": "#0B0080",
      "rgb": [
        11,
        0,
        128
      ],
      "hsl": [
        245,
        100,
        25
      ],
      "cmyk": [
        91,
        100,
        0,
        50
      ],
      "family": "blue",
      "temperature": "cool",
      "tone": [
        "jewel-tone"
      ],
      "luminance": 0.0163,
      "contrast": {
        "black": 1.33,
        "white": 15.84
      },
      "wcag": {
        "AA": [
          "#FFFFFF",
          "#F5F5F5"
        ],
        "AAA": [
          "#FFFFFF",
          "#F5F5F5"
        ]
      },
      "url": null
    },
    {
      "role": "background",
      "hex": "#800075",
      "slug": null,
      "name": "#800075",
      "rgb": [
        128,
        0,
        117
      ],
      "hsl": [
        305,
        100,
        25
      ],
      "cmyk": [
        0,
        100,
        9,
        50
      ],
      "family": "pink",
      "temperature": "warm",
      "tone": [
        "balanced"
      ],
      "luminance": 0.0587,
      "contrast": {
        "black": 2.17,
        "white": 9.66
      },
      "wcag": {
        "AA": [
          "#FFFFFF",
          "#F5F5F5"
        ],
        "AAA": [
          "#FFFFFF",
          "#F5F5F5"
        ]
      },
      "url": null
    },
    {
      "role": "accent",
      "hex": "#FFFFFF",
      "slug": "white",
      "name": "White",
      "rgb": [
        255,
        255,
        255
      ],
      "hsl": [
        0,
        0,
        100
      ],
      "cmyk": [
        0,
        0,
        0,
        0
      ],
      "family": "gray",
      "temperature": "neutral",
      "tone": [
        "light",
        "neutral"
      ],
      "luminance": 1,
      "contrast": {
        "black": 21,
        "white": 1
      },
      "wcag": {
        "AA": [
          "#000000",
          "#1A1A1A",
          "#36454F"
        ],
        "AAA": [
          "#000000",
          "#1A1A1A",
          "#36454F"
        ]
      },
      "url": "https://www.colorsencyclopedia.com/colors/white/"
    }
  ],
  "roles": [
    {
      "role": "primary",
      "hex": "#4B0082",
      "name": "Indigo"
    },
    {
      "role": "secondary",
      "hex": "#358000",
      "name": "#358000"
    },
    {
      "role": "surface",
      "hex": "#0B0080",
      "name": "#0B0080"
    },
    {
      "role": "background",
      "hex": "#800075",
      "name": "#800075"
    },
    {
      "role": "accent",
      "hex": "#FFFFFF",
      "name": "White"
    }
  ],
  "accessibility": [
    {
      "role": "primary",
      "hex": "#4B0082",
      "name": "Indigo",
      "blackContrast": 1.62,
      "whiteContrast": 12.95,
      "bestTextColor": "#FFFFFF",
      "aaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ],
      "aaaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ]
    },
    {
      "role": "secondary",
      "hex": "#358000",
      "name": "#358000",
      "blackContrast": 4.24,
      "whiteContrast": 4.95,
      "bestTextColor": "#FFFFFF",
      "aaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ],
      "aaaTextOptions": []
    },
    {
      "role": "surface",
      "hex": "#0B0080",
      "name": "#0B0080",
      "blackContrast": 1.33,
      "whiteContrast": 15.84,
      "bestTextColor": "#FFFFFF",
      "aaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ],
      "aaaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ]
    },
    {
      "role": "background",
      "hex": "#800075",
      "name": "#800075",
      "blackContrast": 2.17,
      "whiteContrast": 9.66,
      "bestTextColor": "#FFFFFF",
      "aaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ],
      "aaaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ]
    },
    {
      "role": "accent",
      "hex": "#FFFFFF",
      "name": "White",
      "blackContrast": 21,
      "whiteContrast": 1,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ],
      "aaaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ]
    }
  ],
  "cssVariables": "--palette-indigo-primary: #4B0082;\n--palette-indigo-secondary: #358000;\n--palette-indigo-surface: #0B0080;\n--palette-indigo-background: #800075;\n--palette-indigo-accent: #FFFFFF;",
  "relatedEndpoints": [
    "https://www.colorsencyclopedia.com/api/palettes/indigo.json",
    "https://www.colorsencyclopedia.com/api/palettes.json",
    "https://www.colorsencyclopedia.com/api/colors/indigo.json"
  ],
  "url": "https://www.colorsencyclopedia.com/palettes/indigo/",
  "apiUrl": "https://www.colorsencyclopedia.com/api/palettes/indigo.json"
}