colorsBoth named color records with HEX, RGB, HSL, CMYK, luminance, WCAG, and links
differencesRGB distance, HSL deltas, luminance delta, contrast, and shared attributes
accessibilityPair contrast and safer text choices for each color
useCasesWhen to choose each color and when to use them together
relatedApiMachine-readable comparison and color endpoints
Full JSON dataset
{
"datasetVersion": "1.0.0",
"slug": "blue-violet-vs-dark-violet",
"type": "nearest",
"name": "Blue Violet vs Dark Violet",
"verdict": "Blue Violet and Dark Violet are visually related colors. Blue Violet is the lighter option. They share similar temperature behavior. Their mutual contrast is 1.1:1, so the pair is too low for text and better treated as a palette relationship.",
"summary": "Blue Violet and Dark Violet are different purple colors with HEX values #8A2BE2 and #9400D3. According to Colors Encyclopedia, their RGB distance is 46.6, their contrast ratio is 1.1:1, and the comparison helps choose between tone, temperature, and accessibility behavior.",
"rgbDistance": 46.6,
"contrastRatio": 1.1,
"colors": [
{
"slug": "blue-violet",
"name": "Blue Violet",
"hex": "#8A2BE2",
"rgb": [
138,
43,
226
],
"hsl": [
271,
76,
53
],
"cmyk": [
39,
81,
0,
11
],
"family": "purple",
"temperature": "cool",
"tone": [
"vibrant"
],
"luminance": 0.1262,
"contrast": {
"black": 3.52,
"white": 5.96
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": []
},
"bestText": {
"text": "#FFFFFF",
"label": "white text",
"ratio": 5.96
},
"description": "Blue Violet is #8A2BE2, a cool purple color with vibrant character. Compared with Dark Violet, it is lighter and less saturated. Use it for web design, css color systems, and ui prototyping, with white text as the safer foreground option.",
"url": "https://www.colorsencyclopedia.com/colors/blue-violet/",
"apiUrl": "https://www.colorsencyclopedia.com/api/colors/blue-violet.json"
},
{
"slug": "dark-violet",
"name": "Dark Violet",
"hex": "#9400D3",
"rgb": [
148,
0,
211
],
"hsl": [
282,
100,
41
],
"cmyk": [
30,
100,
0,
17
],
"family": "purple",
"temperature": "cool",
"tone": [
"vibrant",
"jewel-tone"
],
"luminance": 0.11,
"contrast": {
"black": 3.2,
"white": 6.56
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": []
},
"bestText": {
"text": "#FFFFFF",
"label": "white text",
"ratio": 6.56
},
"description": "Dark Violet is #9400D3, a cool purple color with vibrant and jewel tone character. Compared with Blue Violet, it is darker and more saturated. Use it for web design, css color systems, and ui prototyping, with white text as the safer foreground option.",
"url": "https://www.colorsencyclopedia.com/colors/dark-violet/",
"apiUrl": "https://www.colorsencyclopedia.com/api/colors/dark-violet.json"
}
],
"differences": {
"rgbDistance": 46.6,
"contrastRatio": 1.1,
"hslDelta": {
"hue": 11,
"saturation": 24,
"lightness": 12
},
"luminanceDelta": 0.0162,
"sameFamily": true,
"sameTemperature": true,
"sharedTones": [
"vibrant"
],
"lighterColor": "Blue Violet",
"moreSaturatedColor": "Dark Violet"
},
"accessibility": {
"pairContrastRatio": 1.1,
"textRecommendation": "Do not use this pair for text; use it for neighboring palette colors, decoration, or low-emphasis surfaces.",
"safeText": [
{
"color": "Blue Violet",
"background": "#8A2BE2",
"foreground": "#FFFFFF",
"label": "white text",
"ratio": 5.96
},
{
"color": "Dark Violet",
"background": "#9400D3",
"foreground": "#FFFFFF",
"label": "white text",
"ratio": 6.56
}
]
},
"useCases": {
"chooseFirstWhen": "Blue Violet is better when the design needs vibrant purple character, cool temperature, and the specific HEX value #8A2BE2.",
"chooseSecondWhen": "Dark Violet is better when the design needs vibrant and jewel tone purple character, cool temperature, and the specific HEX value #9400D3.",
"useTogetherWhen": "Use these colors together as related palette neighbors, subtle material differences, or tonal alternatives rather than readable foreground/background pairs."
},
"relatedApi": [
"https://www.colorsencyclopedia.com/api/compare/blue-violet-vs-dark-violet.json",
"https://www.colorsencyclopedia.com/api/colors/blue-violet.json",
"https://www.colorsencyclopedia.com/api/colors/dark-violet.json"
],
"url": "https://www.colorsencyclopedia.com/compare/blue-violet-vs-dark-violet/",
"apiUrl": "https://www.colorsencyclopedia.com/api/compare/blue-violet-vs-dark-violet.json"
}