Generated palette
Graphite Palette
Graphite Palette: #383838, #FFFFFF, #666666. Check roles, contrast and CSS variables; open source-color links and JSON.
Graphite Palette assigns primary #383838, secondary #FFFFFF, surface #666666. The set spans Gray families with neutral temperature. Luminance runs from #383838 at 0.0395 to #FFFFFF at 1; black gives higher contrast on 1 of 3 values.
Palette Color Roles
Graphite Palette maps 3 colors to practical UI roles for interfaces, brand systems, and CSS tokens.
#383838Graphite#FFFFFFWhite#666666#666666CSS Variables
--palette-graphite-primary: #383838; --palette-graphite-secondary: #FFFFFF; --palette-graphite-surface: #666666;
Accessibility Snapshot
Compare all 3 Graphite Palette values against black and white text, with the stronger standard foreground identified for each role.
UI Components Preview
Preview how the Graphite Palette roles behave together across common interface components before copying the CSS variables.
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.
colorsPalette colors with roles and color systemsrolesPrimary, secondary, surface, background, and accent mappingaccessibilityContrast and WCAG text options by palette colorsemanticGroupsAI-readable palette labelsuseCasesDesign and implementation contextscssVariablesCopy-ready CSS custom propertiesStructured 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": null
}
],
"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"
}