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": "violet-blue-vs-persian-blue",
"type": "nearest",
"name": "Violet Blue vs Persian Blue",
"verdict": "Violet Blue and Persian Blue are visually related colors. Violet Blue is the lighter option. They share similar temperature behavior. Their mutual contrast is 1.17:1, so the pair is too low for text and better treated as a palette relationship.",
"summary": "Violet Blue and Persian Blue are different blue colors with HEX values #324AB2 and #1C39BB. According to Colors Encyclopedia, their RGB distance is 29.2, their contrast ratio is 1.17:1, and the comparison helps choose between tone, temperature, and accessibility behavior.",
"rgbDistance": 29.2,
"contrastRatio": 1.17,
"colors": [
{
"slug": "violet-blue",
"name": "Violet Blue",
"hex": "#324AB2",
"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"
]
},
"bestText": {
"text": "#FFFFFF",
"label": "white text",
"ratio": 7.61
},
"description": "Violet Blue is #324AB2, a cool blue color with jewel tone character. Compared with Persian Blue, it is lighter and less saturated. Use it for beauty branding, creative systems, and premium accents, with white text as the safer foreground option.",
"url": "https://www.colorsencyclopedia.com/colors/violet-blue/",
"apiUrl": "https://www.colorsencyclopedia.com/api/colors/violet-blue.json"
},
{
"slug": "persian-blue",
"name": "Persian Blue",
"hex": "#1C39BB",
"rgb": [
28,
57,
187
],
"hsl": [
229,
74,
42
],
"cmyk": [
85,
70,
0,
27
],
"family": "blue",
"temperature": "cool",
"tone": [
"vibrant",
"jewel-tone"
],
"luminance": 0.0676,
"contrast": {
"black": 2.35,
"white": 8.93
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": [
"#FFFFFF",
"#F5F5F5"
]
},
"bestText": {
"text": "#FFFFFF",
"label": "white text",
"ratio": 8.93
},
"description": "Persian Blue is #1C39BB, a cool blue color with vibrant and jewel tone character. Compared with Violet Blue, it is darker and more saturated. Use it for historical references, pigment palettes, and cultural color systems, with white text as the safer foreground option.",
"url": "https://www.colorsencyclopedia.com/colors/persian-blue/",
"apiUrl": "https://www.colorsencyclopedia.com/api/colors/persian-blue.json"
}
],
"differences": {
"rgbDistance": 29.2,
"contrastRatio": 1.17,
"hslDelta": {
"hue": 0,
"saturation": 18,
"lightness": 3
},
"luminanceDelta": 0.0203,
"sameFamily": true,
"sameTemperature": true,
"sharedTones": [
"jewel-tone"
],
"lighterColor": "Violet Blue",
"moreSaturatedColor": "Persian Blue"
},
"accessibility": {
"pairContrastRatio": 1.17,
"textRecommendation": "Do not use this pair for text; use it for neighboring palette colors, decoration, or low-emphasis surfaces.",
"safeText": [
{
"color": "Violet Blue",
"background": "#324AB2",
"foreground": "#FFFFFF",
"label": "white text",
"ratio": 7.61
},
{
"color": "Persian Blue",
"background": "#1C39BB",
"foreground": "#FFFFFF",
"label": "white text",
"ratio": 8.93
}
]
},
"useCases": {
"chooseFirstWhen": "Violet Blue is better when the design needs jewel tone blue character, cool temperature, and the specific HEX value #324AB2.",
"chooseSecondWhen": "Persian Blue is better when the design needs vibrant and jewel tone blue character, cool temperature, and the specific HEX value #1C39BB.",
"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/violet-blue-vs-persian-blue.json",
"https://www.colorsencyclopedia.com/api/colors/violet-blue.json",
"https://www.colorsencyclopedia.com/api/colors/persian-blue.json"
],
"url": "https://www.colorsencyclopedia.com/compare/violet-blue-vs-persian-blue/",
"apiUrl": "https://www.colorsencyclopedia.com/api/compare/violet-blue-vs-persian-blue.json"
}