Generated palette

Graphite Palette

Graphite Palette is a generated palette built from #383838, #FFFFFF, #666666. 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.

Graphite Palette combines primary #383838, secondary #FFFFFF, surface #666666. According to Colors Encyclopedia, the palette works as a gray palette, dark palette, light 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.

3colors
Gray 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#383838Graphite
Secondary#FFFFFFWhite
Surface#666666#666666

CSS Variables

--palette-graphite-primary: #383838;
--palette-graphite-secondary: #FFFFFF;
--palette-graphite-surface: #666666;

Accessibility Snapshot

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

Primary#383838
Black 1.79:1 · White 11.73:1
Best #FFFFFF
Secondary#FFFFFF
Black 21:1 · White 1:1
Best #000000
Surface#666666
Black 3.66:1 · White 5.74:1
Best #FFFFFF

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

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

AI-Ready Dataset v1.0.0
Luminance0.0395
Black text1.79:1AA Fail
White text11.73: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": "#383838",
    "name": "Graphite"
  },
  {
    "role": "secondary",
    "hex": "#FFFFFF",
    "name": "White"
  },
  {
    "role": "surface",
    "hex": "#666666",
    "name": "#666666"
  }
]
Accessibility
[
  {
    "role": "primary",
    "hex": "#383838",
    "name": "Graphite",
    "blackContrast": 1.79,
    "whiteContrast": 11.73,
    "bestTextColor": "#FFFFFF",
    "aaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ],
    "aaaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ]
  },
  {
    "role": "secondary",
    "hex": "#FFFFFF",
    "name": "White",
    "blackContrast": 21,
    "whiteContrast": 1,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ],
    "aaaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ]
  },
  {
    "role": "surface",
    "hex": "#666666",
    "name": "#666666",
    "blackContrast": 3.66,
    "whiteContrast": 5.74,
    "bestTextColor": "#FFFFFF",
    "aaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ],
    "aaaTextOptions": []
  }
]
Semantic groups
[
  "graphite palette",
  "generated palette",
  "gray palette",
  "dark palette",
  "light palette",
  "neutral palette",
  "muted palette"
]
Use cases
[
  "design system tokens",
  "CSS variables",
  "palette reference",
  "AI color ingestion",
  "quiet UI themes"
]
CSS variables
"--palette-graphite-primary: #383838;\n--palette-graphite-secondary: #FFFFFF;\n--palette-graphite-surface: #666666;"
Full JSON dataset
{
  "datasetVersion": "1.0.0",
  "slug": "graphite",
  "name": "Graphite Palette",
  "type": "generated",
  "sourceColor": "graphite",
  "description": "Generated palette built from Graphite, its harmonies, a high-contrast pairing, and a light variant.",
  "narrative": "Graphite Palette combines primary #383838, secondary #FFFFFF, surface #666666. According to Colors Encyclopedia, the palette works as a gray palette, dark palette, light 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": [
    "graphite palette",
    "generated palette",
    "gray palette",
    "dark palette",
    "light palette",
    "neutral palette",
    "muted palette"
  ],
  "useCases": [
    "design system tokens",
    "CSS variables",
    "palette reference",
    "AI color ingestion",
    "quiet UI themes"
  ],
  "colors": [
    {
      "role": "primary",
      "hex": "#383838",
      "slug": "graphite",
      "name": "Graphite",
      "rgb": [
        56,
        56,
        56
      ],
      "hsl": [
        0,
        0,
        22
      ],
      "cmyk": [
        0,
        0,
        0,
        78
      ],
      "family": "gray",
      "temperature": "neutral",
      "tone": [
        "dark"
      ],
      "luminance": 0.0395,
      "contrast": {
        "black": 1.79,
        "white": 11.73
      },
      "wcag": {
        "AA": [
          "#FFFFFF",
          "#F5F5F5"
        ],
        "AAA": [
          "#FFFFFF",
          "#F5F5F5"
        ]
      },
      "url": "https://www.colorsencyclopedia.com/colors/graphite/"
    },
    {
      "role": "secondary",
      "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/"
    },
    {
      "role": "surface",
      "hex": "#666666",
      "slug": null,
      "name": "#666666",
      "rgb": [
        102,
        102,
        102
      ],
      "hsl": [
        0,
        0,
        40
      ],
      "cmyk": [
        0,
        0,
        0,
        60
      ],
      "family": "gray",
      "temperature": "neutral",
      "tone": [
        "muted"
      ],
      "luminance": 0.1329,
      "contrast": {
        "black": 3.66,
        "white": 5.74
      },
      "wcag": {
        "AA": [
          "#FFFFFF",
          "#F5F5F5"
        ],
        "AAA": []
      },
      "url": "https://www.colorsencyclopedia.com/hex/666666/"
    }
  ],
  "roles": [
    {
      "role": "primary",
      "hex": "#383838",
      "name": "Graphite"
    },
    {
      "role": "secondary",
      "hex": "#FFFFFF",
      "name": "White"
    },
    {
      "role": "surface",
      "hex": "#666666",
      "name": "#666666"
    }
  ],
  "accessibility": [
    {
      "role": "primary",
      "hex": "#383838",
      "name": "Graphite",
      "blackContrast": 1.79,
      "whiteContrast": 11.73,
      "bestTextColor": "#FFFFFF",
      "aaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ],
      "aaaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ]
    },
    {
      "role": "secondary",
      "hex": "#FFFFFF",
      "name": "White",
      "blackContrast": 21,
      "whiteContrast": 1,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ],
      "aaaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ]
    },
    {
      "role": "surface",
      "hex": "#666666",
      "name": "#666666",
      "blackContrast": 3.66,
      "whiteContrast": 5.74,
      "bestTextColor": "#FFFFFF",
      "aaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ],
      "aaaTextOptions": []
    }
  ],
  "cssVariables": "--palette-graphite-primary: #383838;\n--palette-graphite-secondary: #FFFFFF;\n--palette-graphite-surface: #666666;",
  "relatedEndpoints": [
    "https://www.colorsencyclopedia.com/api/palettes/graphite.json",
    "https://www.colorsencyclopedia.com/api/palettes.json",
    "https://www.colorsencyclopedia.com/api/colors/graphite.json"
  ],
  "url": "https://www.colorsencyclopedia.com/palettes/graphite/",
  "apiUrl": "https://www.colorsencyclopedia.com/api/palettes/graphite.json"
}