Generated palette
Violet Blue Palette
Violet Blue Palette: #324AB2, #B39B32, #328AB3, #5B32B3. Check roles, contrast and CSS variables; open source-color links and JSON.
Violet Blue Palette assigns primary #324AB2, secondary #B39B32, surface #328AB3, background #5B32B3, accent #FFFFFF. The set spans Blue, Yellow, Purple, and Gray families with cool, warm, and neutral temperatures. Luminance runs from #5B32B3 at 0.0776 to #FFFFFF at 1; black gives higher contrast on 3 of 5 values.
Palette Color Roles
Violet Blue Palette maps 5 colors to practical UI roles for interfaces, brand systems, and CSS tokens.
#324AB2Violet Blue#B39B32#B39B32#328AB3#328AB3#5B32B3#5B32B3#FFFFFFWhiteCSS Variables
--palette-violet-blue-primary: #324AB2; --palette-violet-blue-secondary: #B39B32; --palette-violet-blue-surface: #328AB3; --palette-violet-blue-background: #5B32B3; --palette-violet-blue-accent: #FFFFFF;
Accessibility Snapshot
Compare all 5 Violet Blue Palette values against black and white text, with the stronger standard foreground identified for each role.
UI Components Preview
Preview how the Violet Blue Palette roles behave together across common interface components before copying the CSS variables.
Machine-readable data
Machine-Readable Violet Blue Palette Data (JSON)
Structured palette data for Violet Blue 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": "#324AB2",
"name": "Violet Blue"
},
{
"role": "secondary",
"hex": "#B39B32",
"name": "#B39B32"
},
{
"role": "surface",
"hex": "#328AB3",
"name": "#328AB3"
},
{
"role": "background",
"hex": "#5B32B3",
"name": "#5B32B3"
},
{
"role": "accent",
"hex": "#FFFFFF",
"name": "White"
}
]Accessibility
[
{
"role": "primary",
"hex": "#324AB2",
"name": "Violet Blue",
"blackContrast": 2.76,
"whiteContrast": 7.61,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": [
"#FFFFFF"
]
},
{
"role": "secondary",
"hex": "#B39B32",
"name": "#B39B32",
"blackContrast": 7.65,
"whiteContrast": 2.74,
"bestTextColor": "#000000",
"aaTextOptions": [
"#000000",
"#1A1A1A"
],
"aaaTextOptions": [
"#000000"
]
},
{
"role": "surface",
"hex": "#328AB3",
"name": "#328AB3",
"blackContrast": 5.42,
"whiteContrast": 3.87,
"bestTextColor": "#000000",
"aaTextOptions": [
"#000000",
"#1A1A1A"
],
"aaaTextOptions": []
},
{
"role": "background",
"hex": "#5B32B3",
"name": "#5B32B3",
"blackContrast": 2.55,
"whiteContrast": 8.23,
"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
[
"violet blue palette",
"generated palette",
"blue palette",
"yellow palette",
"purple palette",
"gray palette",
"jewel tone palette",
"earth tone palette",
"light palette",
"neutral palette",
"cool palette",
"warm palette"
]Use cases
[
"design system tokens",
"CSS variables",
"palette reference",
"AI color ingestion",
"natural branding",
"calm digital interfaces"
]CSS variables
"--palette-violet-blue-primary: #324AB2;\n--palette-violet-blue-secondary: #B39B32;\n--palette-violet-blue-surface: #328AB3;\n--palette-violet-blue-background: #5B32B3;\n--palette-violet-blue-accent: #FFFFFF;"Full JSON dataset
{
"datasetVersion": "1.0.0",
"slug": "violet-blue",
"name": "Violet Blue Palette",
"type": "generated",
"sourceColor": "violet-blue",
"description": "Generated palette built from Violet Blue, its harmonies, a high-contrast pairing, and a light variant.",
"narrative": "Violet Blue Palette combines primary #324AB2, secondary #B39B32, surface #328AB3, background #5B32B3, accent #FFFFFF. According to Colors Encyclopedia, the palette works as a blue palette, yellow 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": [
"violet blue palette",
"generated palette",
"blue palette",
"yellow palette",
"purple palette",
"gray palette",
"jewel tone palette",
"earth tone palette",
"light palette",
"neutral palette",
"cool palette",
"warm palette"
],
"useCases": [
"design system tokens",
"CSS variables",
"palette reference",
"AI color ingestion",
"natural branding",
"calm digital interfaces"
],
"colors": [
{
"role": "primary",
"hex": "#324AB2",
"slug": "violet-blue",
"name": "Violet Blue",
"rgb": [
50,
74,
178
],
"hsl": [
229,
56,
45
],
"cmyk": [
72,
58,
0,
30
],
"family": "blue",
"temperature": "cool",
"tone": [
"jewel-tone"
],
"luminance": 0.0879,
"contrast": {
"black": 2.76,
"white": 7.61
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": [
"#FFFFFF"
]
},
"url": "https://www.colorsencyclopedia.com/colors/violet-blue/"
},
{
"role": "secondary",
"hex": "#B39B32",
"slug": null,
"name": "#B39B32",
"rgb": [
179,
155,
50
],
"hsl": [
49,
56,
45
],
"cmyk": [
0,
13,
72,
30
],
"family": "yellow",
"temperature": "warm",
"tone": [
"earth-tone"
],
"luminance": 0.3326,
"contrast": {
"black": 7.65,
"white": 2.74
},
"wcag": {
"AA": [
"#000000",
"#1A1A1A"
],
"AAA": [
"#000000"
]
},
"url": null
},
{
"role": "surface",
"hex": "#328AB3",
"slug": null,
"name": "#328AB3",
"rgb": [
50,
138,
179
],
"hsl": [
199,
56,
45
],
"cmyk": [
72,
23,
0,
30
],
"family": "blue",
"temperature": "cool",
"tone": [
"jewel-tone"
],
"luminance": 0.2211,
"contrast": {
"black": 5.42,
"white": 3.87
},
"wcag": {
"AA": [
"#000000",
"#1A1A1A"
],
"AAA": []
},
"url": null
},
{
"role": "background",
"hex": "#5B32B3",
"slug": null,
"name": "#5B32B3",
"rgb": [
91,
50,
179
],
"hsl": [
259,
56,
45
],
"cmyk": [
49,
72,
0,
30
],
"family": "purple",
"temperature": "cool",
"tone": [
"jewel-tone"
],
"luminance": 0.0776,
"contrast": {
"black": 2.55,
"white": 8.23
},
"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": "#324AB2",
"name": "Violet Blue"
},
{
"role": "secondary",
"hex": "#B39B32",
"name": "#B39B32"
},
{
"role": "surface",
"hex": "#328AB3",
"name": "#328AB3"
},
{
"role": "background",
"hex": "#5B32B3",
"name": "#5B32B3"
},
{
"role": "accent",
"hex": "#FFFFFF",
"name": "White"
}
],
"accessibility": [
{
"role": "primary",
"hex": "#324AB2",
"name": "Violet Blue",
"blackContrast": 2.76,
"whiteContrast": 7.61,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": [
"#FFFFFF"
]
},
{
"role": "secondary",
"hex": "#B39B32",
"name": "#B39B32",
"blackContrast": 7.65,
"whiteContrast": 2.74,
"bestTextColor": "#000000",
"aaTextOptions": [
"#000000",
"#1A1A1A"
],
"aaaTextOptions": [
"#000000"
]
},
{
"role": "surface",
"hex": "#328AB3",
"name": "#328AB3",
"blackContrast": 5.42,
"whiteContrast": 3.87,
"bestTextColor": "#000000",
"aaTextOptions": [
"#000000",
"#1A1A1A"
],
"aaaTextOptions": []
},
{
"role": "background",
"hex": "#5B32B3",
"name": "#5B32B3",
"blackContrast": 2.55,
"whiteContrast": 8.23,
"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-violet-blue-primary: #324AB2;\n--palette-violet-blue-secondary: #B39B32;\n--palette-violet-blue-surface: #328AB3;\n--palette-violet-blue-background: #5B32B3;\n--palette-violet-blue-accent: #FFFFFF;",
"relatedEndpoints": [
"https://www.colorsencyclopedia.com/api/palettes/violet-blue.json",
"https://www.colorsencyclopedia.com/api/palettes.json",
"https://www.colorsencyclopedia.com/api/colors/violet-blue.json"
],
"url": "https://www.colorsencyclopedia.com/palettes/violet-blue/",
"apiUrl": "https://www.colorsencyclopedia.com/api/palettes/violet-blue.json"
}