Generated palette

Dark Magenta Palette

Dark Magenta Palette is a generated palette built from #8B008B, #008A00, #45008A, #8A0045. According to Colors Encyclopedia, this palette can be used as a CSS-ready color set with linked HEX values, source color context, and machine-readable palette data.

Dark Magenta Palette combines primary #8B008B, secondary #008A00, surface #45008A, background #8A0045, accent #FFFFFF. According to Colors Encyclopedia, the palette works as a pink palette, green palette, purple 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.

5colors
Pink palettedominant group
5use cases

Palette Color Roles

Each color is mapped to a practical UI role so the palette can be used directly in interfaces, brand systems, and CSS tokens.

Primary#8B008BDark Magenta
Secondary#008A00#008A00
Surface#45008A#45008A
Background#8A0045#8A0045
Accent#FFFFFFWhite

CSS Variables

--palette-dark-magenta-primary: #8B008B;
--palette-dark-magenta-secondary: #008A00;
--palette-dark-magenta-surface: #45008A;
--palette-dark-magenta-background: #8A0045;
--palette-dark-magenta-accent: #FFFFFF;

Accessibility Snapshot

Contrast checks for each palette color against black and white text, with best foreground guidance.

Primary#8B008B
Black 2.47:1 · White 8.5:1
Best #FFFFFF
Secondary#008A00
Black 4.64:1 · White 4.53:1
Best #000000
Surface#45008A
Black 1.62:1 · White 12.96:1
Best #FFFFFF
Background#8A0045
Black 2.17:1 · White 9.7:1
Best #FFFFFF
Accent#FFFFFF
Black 21:1 · White 1:1
Best #000000

UI Components Preview

A compact preview of how the palette behaves across common interface components.

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 Dark Magenta Palette Data (JSON)

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

AI-Ready Dataset v1.0.0
Luminance0.0735
Black text2.47:1AA Fail
White text8.5: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": "#8B008B",
    "name": "Dark Magenta"
  },
  {
    "role": "secondary",
    "hex": "#008A00",
    "name": "#008A00"
  },
  {
    "role": "surface",
    "hex": "#45008A",
    "name": "#45008A"
  },
  {
    "role": "background",
    "hex": "#8A0045",
    "name": "#8A0045"
  },
  {
    "role": "accent",
    "hex": "#FFFFFF",
    "name": "White"
  }
]
Accessibility
[
  {
    "role": "primary",
    "hex": "#8B008B",
    "name": "Dark Magenta",
    "blackContrast": 2.47,
    "whiteContrast": 8.5,
    "bestTextColor": "#FFFFFF",
    "aaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ],
    "aaaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ]
  },
  {
    "role": "secondary",
    "hex": "#008A00",
    "name": "#008A00",
    "blackContrast": 4.64,
    "whiteContrast": 4.53,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#FFFFFF"
    ],
    "aaaTextOptions": []
  },
  {
    "role": "surface",
    "hex": "#45008A",
    "name": "#45008A",
    "blackContrast": 1.62,
    "whiteContrast": 12.96,
    "bestTextColor": "#FFFFFF",
    "aaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ],
    "aaaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ]
  },
  {
    "role": "background",
    "hex": "#8A0045",
    "name": "#8A0045",
    "blackContrast": 2.17,
    "whiteContrast": 9.7,
    "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
[
  "dark magenta palette",
  "generated palette",
  "pink palette",
  "green palette",
  "purple palette",
  "gray palette",
  "balanced palette",
  "jewel tone palette",
  "light palette",
  "neutral palette",
  "warm palette",
  "cool palette"
]
Use cases
[
  "design system tokens",
  "CSS variables",
  "palette reference",
  "AI color ingestion",
  "wellness and botanical palettes"
]
CSS variables
"--palette-dark-magenta-primary: #8B008B;\n--palette-dark-magenta-secondary: #008A00;\n--palette-dark-magenta-surface: #45008A;\n--palette-dark-magenta-background: #8A0045;\n--palette-dark-magenta-accent: #FFFFFF;"
Full JSON dataset
{
  "datasetVersion": "1.0.0",
  "slug": "dark-magenta",
  "name": "Dark Magenta Palette",
  "type": "generated",
  "sourceColor": "dark-magenta",
  "description": "Generated palette built from Dark Magenta, its harmonies, a high-contrast pairing, and a light variant.",
  "narrative": "Dark Magenta Palette combines primary #8B008B, secondary #008A00, surface #45008A, background #8A0045, accent #FFFFFF. According to Colors Encyclopedia, the palette works as a pink palette, green palette, purple 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": [
    "dark magenta palette",
    "generated palette",
    "pink palette",
    "green palette",
    "purple palette",
    "gray palette",
    "balanced palette",
    "jewel tone palette",
    "light palette",
    "neutral palette",
    "warm palette",
    "cool palette"
  ],
  "useCases": [
    "design system tokens",
    "CSS variables",
    "palette reference",
    "AI color ingestion",
    "wellness and botanical palettes"
  ],
  "colors": [
    {
      "role": "primary",
      "hex": "#8B008B",
      "slug": "dark-magenta",
      "name": "Dark Magenta",
      "rgb": [
        139,
        0,
        139
      ],
      "hsl": [
        300,
        100,
        27
      ],
      "cmyk": [
        0,
        100,
        0,
        45
      ],
      "family": "pink",
      "temperature": "warm",
      "tone": [
        "balanced"
      ],
      "luminance": 0.0735,
      "contrast": {
        "black": 2.47,
        "white": 8.5
      },
      "wcag": {
        "AA": [
          "#FFFFFF",
          "#F5F5F5"
        ],
        "AAA": [
          "#FFFFFF",
          "#F5F5F5"
        ]
      },
      "url": "https://www.colorsencyclopedia.com/colors/dark-magenta/"
    },
    {
      "role": "secondary",
      "hex": "#008A00",
      "slug": null,
      "name": "#008A00",
      "rgb": [
        0,
        138,
        0
      ],
      "hsl": [
        120,
        100,
        27
      ],
      "cmyk": [
        100,
        0,
        100,
        46
      ],
      "family": "green",
      "temperature": "cool",
      "tone": [
        "jewel-tone"
      ],
      "luminance": 0.1818,
      "contrast": {
        "black": 4.64,
        "white": 4.53
      },
      "wcag": {
        "AA": [
          "#000000",
          "#FFFFFF"
        ],
        "AAA": []
      },
      "url": "https://www.colorsencyclopedia.com/hex/008a00/"
    },
    {
      "role": "surface",
      "hex": "#45008A",
      "slug": null,
      "name": "#45008A",
      "rgb": [
        69,
        0,
        138
      ],
      "hsl": [
        270,
        100,
        27
      ],
      "cmyk": [
        50,
        100,
        0,
        46
      ],
      "family": "purple",
      "temperature": "cool",
      "tone": [
        "jewel-tone"
      ],
      "luminance": 0.031,
      "contrast": {
        "black": 1.62,
        "white": 12.96
      },
      "wcag": {
        "AA": [
          "#FFFFFF",
          "#F5F5F5"
        ],
        "AAA": [
          "#FFFFFF",
          "#F5F5F5"
        ]
      },
      "url": "https://www.colorsencyclopedia.com/hex/45008a/"
    },
    {
      "role": "background",
      "hex": "#8A0045",
      "slug": null,
      "name": "#8A0045",
      "rgb": [
        138,
        0,
        69
      ],
      "hsl": [
        330,
        100,
        27
      ],
      "cmyk": [
        0,
        100,
        50,
        46
      ],
      "family": "pink",
      "temperature": "warm",
      "tone": [
        "balanced"
      ],
      "luminance": 0.0583,
      "contrast": {
        "black": 2.17,
        "white": 9.7
      },
      "wcag": {
        "AA": [
          "#FFFFFF",
          "#F5F5F5"
        ],
        "AAA": [
          "#FFFFFF",
          "#F5F5F5"
        ]
      },
      "url": "https://www.colorsencyclopedia.com/hex/8a0045/"
    },
    {
      "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": "#8B008B",
      "name": "Dark Magenta"
    },
    {
      "role": "secondary",
      "hex": "#008A00",
      "name": "#008A00"
    },
    {
      "role": "surface",
      "hex": "#45008A",
      "name": "#45008A"
    },
    {
      "role": "background",
      "hex": "#8A0045",
      "name": "#8A0045"
    },
    {
      "role": "accent",
      "hex": "#FFFFFF",
      "name": "White"
    }
  ],
  "accessibility": [
    {
      "role": "primary",
      "hex": "#8B008B",
      "name": "Dark Magenta",
      "blackContrast": 2.47,
      "whiteContrast": 8.5,
      "bestTextColor": "#FFFFFF",
      "aaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ],
      "aaaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ]
    },
    {
      "role": "secondary",
      "hex": "#008A00",
      "name": "#008A00",
      "blackContrast": 4.64,
      "whiteContrast": 4.53,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#FFFFFF"
      ],
      "aaaTextOptions": []
    },
    {
      "role": "surface",
      "hex": "#45008A",
      "name": "#45008A",
      "blackContrast": 1.62,
      "whiteContrast": 12.96,
      "bestTextColor": "#FFFFFF",
      "aaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ],
      "aaaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ]
    },
    {
      "role": "background",
      "hex": "#8A0045",
      "name": "#8A0045",
      "blackContrast": 2.17,
      "whiteContrast": 9.7,
      "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-dark-magenta-primary: #8B008B;\n--palette-dark-magenta-secondary: #008A00;\n--palette-dark-magenta-surface: #45008A;\n--palette-dark-magenta-background: #8A0045;\n--palette-dark-magenta-accent: #FFFFFF;",
  "relatedEndpoints": [
    "https://www.colorsencyclopedia.com/api/palettes/dark-magenta.json",
    "https://www.colorsencyclopedia.com/api/palettes.json",
    "https://www.colorsencyclopedia.com/api/colors/dark-magenta.json"
  ],
  "url": "https://www.colorsencyclopedia.com/palettes/dark-magenta/",
  "apiUrl": "https://www.colorsencyclopedia.com/api/palettes/dark-magenta.json"
}