Generated palette

Tyrian Purple Palette

Tyrian Purple Palette is a generated palette built from #66023C, #02642B, #5C0264, #64020A. 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.

Tyrian Purple Palette combines primary #66023C, secondary #02642B, surface #5C0264, background #64020A, accent #FFFFFF. According to Colors Encyclopedia, the palette works as a pink palette, green palette, red 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#66023CTyrian Purple
Secondary#02642B#02642B
Surface#5C0264#5C0264
Background#64020A#64020A
Accent#FFFFFFWhite

CSS Variables

--palette-tyrian-purple-primary: #66023C;
--palette-tyrian-purple-secondary: #02642B;
--palette-tyrian-purple-surface: #5C0264;
--palette-tyrian-purple-background: #64020A;
--palette-tyrian-purple-accent: #FFFFFF;

Accessibility Snapshot

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

Primary#66023C
Black 1.64:1 · White 12.82:1
Best #FFFFFF
Secondary#02642B
Black 2.86:1 · White 7.34:1
Best #FFFFFF
Surface#5C0264
Black 1.65:1 · White 12.74:1
Best #FFFFFF
Background#64020A
Black 1.55:1 · White 13.51: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 Tyrian Purple Palette Data (JSON)

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

AI-Ready Dataset v1.0.0
Luminance0.0319
Black text1.64:1AA Fail
White text12.82: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": "#66023C",
    "name": "Tyrian Purple"
  },
  {
    "role": "secondary",
    "hex": "#02642B",
    "name": "#02642B"
  },
  {
    "role": "surface",
    "hex": "#5C0264",
    "name": "#5C0264"
  },
  {
    "role": "background",
    "hex": "#64020A",
    "name": "#64020A"
  },
  {
    "role": "accent",
    "hex": "#FFFFFF",
    "name": "White"
  }
]
Accessibility
[
  {
    "role": "primary",
    "hex": "#66023C",
    "name": "Tyrian Purple",
    "blackContrast": 1.64,
    "whiteContrast": 12.82,
    "bestTextColor": "#FFFFFF",
    "aaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ],
    "aaaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ]
  },
  {
    "role": "secondary",
    "hex": "#02642B",
    "name": "#02642B",
    "blackContrast": 2.86,
    "whiteContrast": 7.34,
    "bestTextColor": "#FFFFFF",
    "aaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ],
    "aaaTextOptions": [
      "#FFFFFF"
    ]
  },
  {
    "role": "surface",
    "hex": "#5C0264",
    "name": "#5C0264",
    "blackContrast": 1.65,
    "whiteContrast": 12.74,
    "bestTextColor": "#FFFFFF",
    "aaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ],
    "aaaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ]
  },
  {
    "role": "background",
    "hex": "#64020A",
    "name": "#64020A",
    "blackContrast": 1.55,
    "whiteContrast": 13.51,
    "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
[
  "tyrian purple palette",
  "generated palette",
  "pink palette",
  "green palette",
  "red palette",
  "gray palette",
  "dark 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-tyrian-purple-primary: #66023C;\n--palette-tyrian-purple-secondary: #02642B;\n--palette-tyrian-purple-surface: #5C0264;\n--palette-tyrian-purple-background: #64020A;\n--palette-tyrian-purple-accent: #FFFFFF;"
Full JSON dataset
{
  "datasetVersion": "1.0.0",
  "slug": "tyrian-purple",
  "name": "Tyrian Purple Palette",
  "type": "generated",
  "sourceColor": "tyrian-purple",
  "description": "Generated palette built from Tyrian Purple, its harmonies, a high-contrast pairing, and a light variant.",
  "narrative": "Tyrian Purple Palette combines primary #66023C, secondary #02642B, surface #5C0264, background #64020A, accent #FFFFFF. According to Colors Encyclopedia, the palette works as a pink palette, green palette, red 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": [
    "tyrian purple palette",
    "generated palette",
    "pink palette",
    "green palette",
    "red palette",
    "gray palette",
    "dark 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": "#66023C",
      "slug": "tyrian-purple",
      "name": "Tyrian Purple",
      "rgb": [
        102,
        2,
        60
      ],
      "hsl": [
        325,
        96,
        20
      ],
      "cmyk": [
        0,
        98,
        41,
        60
      ],
      "family": "pink",
      "temperature": "warm",
      "tone": [
        "dark"
      ],
      "luminance": 0.0319,
      "contrast": {
        "black": 1.64,
        "white": 12.82
      },
      "wcag": {
        "AA": [
          "#FFFFFF",
          "#F5F5F5"
        ],
        "AAA": [
          "#FFFFFF",
          "#F5F5F5"
        ]
      },
      "url": "https://www.colorsencyclopedia.com/colors/tyrian-purple/"
    },
    {
      "role": "secondary",
      "hex": "#02642B",
      "slug": null,
      "name": "#02642B",
      "rgb": [
        2,
        100,
        43
      ],
      "hsl": [
        145,
        96,
        20
      ],
      "cmyk": [
        98,
        0,
        57,
        61
      ],
      "family": "green",
      "temperature": "cool",
      "tone": [
        "dark",
        "jewel-tone"
      ],
      "luminance": 0.093,
      "contrast": {
        "black": 2.86,
        "white": 7.34
      },
      "wcag": {
        "AA": [
          "#FFFFFF",
          "#F5F5F5"
        ],
        "AAA": [
          "#FFFFFF"
        ]
      },
      "url": "https://www.colorsencyclopedia.com/hex/02642b/"
    },
    {
      "role": "surface",
      "hex": "#5C0264",
      "slug": null,
      "name": "#5C0264",
      "rgb": [
        92,
        2,
        100
      ],
      "hsl": [
        295,
        96,
        20
      ],
      "cmyk": [
        8,
        98,
        0,
        61
      ],
      "family": "pink",
      "temperature": "warm",
      "tone": [
        "dark"
      ],
      "luminance": 0.0324,
      "contrast": {
        "black": 1.65,
        "white": 12.74
      },
      "wcag": {
        "AA": [
          "#FFFFFF",
          "#F5F5F5"
        ],
        "AAA": [
          "#FFFFFF",
          "#F5F5F5"
        ]
      },
      "url": "https://www.colorsencyclopedia.com/hex/5c0264/"
    },
    {
      "role": "background",
      "hex": "#64020A",
      "slug": null,
      "name": "#64020A",
      "rgb": [
        100,
        2,
        10
      ],
      "hsl": [
        355,
        96,
        20
      ],
      "cmyk": [
        0,
        98,
        90,
        61
      ],
      "family": "red",
      "temperature": "warm",
      "tone": [
        "dark"
      ],
      "luminance": 0.0277,
      "contrast": {
        "black": 1.55,
        "white": 13.51
      },
      "wcag": {
        "AA": [
          "#FFFFFF",
          "#F5F5F5"
        ],
        "AAA": [
          "#FFFFFF",
          "#F5F5F5"
        ]
      },
      "url": "https://www.colorsencyclopedia.com/hex/64020a/"
    },
    {
      "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": "#66023C",
      "name": "Tyrian Purple"
    },
    {
      "role": "secondary",
      "hex": "#02642B",
      "name": "#02642B"
    },
    {
      "role": "surface",
      "hex": "#5C0264",
      "name": "#5C0264"
    },
    {
      "role": "background",
      "hex": "#64020A",
      "name": "#64020A"
    },
    {
      "role": "accent",
      "hex": "#FFFFFF",
      "name": "White"
    }
  ],
  "accessibility": [
    {
      "role": "primary",
      "hex": "#66023C",
      "name": "Tyrian Purple",
      "blackContrast": 1.64,
      "whiteContrast": 12.82,
      "bestTextColor": "#FFFFFF",
      "aaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ],
      "aaaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ]
    },
    {
      "role": "secondary",
      "hex": "#02642B",
      "name": "#02642B",
      "blackContrast": 2.86,
      "whiteContrast": 7.34,
      "bestTextColor": "#FFFFFF",
      "aaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ],
      "aaaTextOptions": [
        "#FFFFFF"
      ]
    },
    {
      "role": "surface",
      "hex": "#5C0264",
      "name": "#5C0264",
      "blackContrast": 1.65,
      "whiteContrast": 12.74,
      "bestTextColor": "#FFFFFF",
      "aaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ],
      "aaaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ]
    },
    {
      "role": "background",
      "hex": "#64020A",
      "name": "#64020A",
      "blackContrast": 1.55,
      "whiteContrast": 13.51,
      "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-tyrian-purple-primary: #66023C;\n--palette-tyrian-purple-secondary: #02642B;\n--palette-tyrian-purple-surface: #5C0264;\n--palette-tyrian-purple-background: #64020A;\n--palette-tyrian-purple-accent: #FFFFFF;",
  "relatedEndpoints": [
    "https://www.colorsencyclopedia.com/api/palettes/tyrian-purple.json",
    "https://www.colorsencyclopedia.com/api/palettes.json",
    "https://www.colorsencyclopedia.com/api/colors/tyrian-purple.json"
  ],
  "url": "https://www.colorsencyclopedia.com/palettes/tyrian-purple/",
  "apiUrl": "https://www.colorsencyclopedia.com/api/palettes/tyrian-purple.json"
}