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": "imperial-purple-vs-eggplant",
"type": "nearest",
"name": "Imperial Purple vs Eggplant",
"verdict": "Imperial Purple and Eggplant are visually related colors. Eggplant is the lighter option. Eggplant reads warmer. Their mutual contrast is 1.12:1, so the pair is too low for text and better treated as a palette relationship.",
"summary": "Imperial Purple and Eggplant are different purple and pink colors with HEX values #602F6B and #614051. According to Colors Encyclopedia, their RGB distance is 31.1, their contrast ratio is 1.12:1, and the comparison helps choose between tone, temperature, and accessibility behavior.",
"rgbDistance": 31.1,
"contrastRatio": 1.12,
"colors": [
{
"slug": "imperial-purple",
"name": "Imperial Purple",
"hex": "#602F6B",
"rgb": [
96,
47,
107
],
"hsl": [
289,
39,
30
],
"cmyk": [
10,
56,
0,
58
],
"family": "purple",
"temperature": "cool",
"tone": [
"balanced"
],
"luminance": 0.0558,
"contrast": {
"black": 2.12,
"white": 9.92
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": [
"#FFFFFF",
"#F5F5F5"
]
},
"bestText": {
"text": "#FFFFFF",
"label": "white text",
"ratio": 9.92
},
"description": "Imperial Purple is #602F6B, a cool purple color with balanced character. Compared with Eggplant, 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/imperial-purple/",
"apiUrl": "https://www.colorsencyclopedia.com/api/colors/imperial-purple.json"
},
{
"slug": "eggplant",
"name": "Eggplant",
"hex": "#614051",
"rgb": [
97,
64,
81
],
"hsl": [
329,
20,
32
],
"cmyk": [
0,
34,
16,
62
],
"family": "pink",
"temperature": "warm",
"tone": [
"muted"
],
"luminance": 0.068,
"contrast": {
"black": 2.36,
"white": 8.9
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": [
"#FFFFFF",
"#F5F5F5"
]
},
"bestText": {
"text": "#FFFFFF",
"label": "white text",
"ratio": 8.9
},
"description": "Eggplant is #614051, a warm pink color with muted character. Compared with Imperial Purple, 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/eggplant/",
"apiUrl": "https://www.colorsencyclopedia.com/api/colors/eggplant.json"
}
],
"differences": {
"rgbDistance": 31.1,
"contrastRatio": 1.12,
"hslDelta": {
"hue": 40,
"saturation": 19,
"lightness": 2
},
"luminanceDelta": 0.0122,
"sameFamily": false,
"sameTemperature": false,
"sharedTones": [],
"lighterColor": "Eggplant",
"moreSaturatedColor": "Imperial Purple"
},
"accessibility": {
"pairContrastRatio": 1.12,
"textRecommendation": "Do not use this pair for text; use it for neighboring palette colors, decoration, or low-emphasis surfaces.",
"safeText": [
{
"color": "Imperial Purple",
"background": "#602F6B",
"foreground": "#FFFFFF",
"label": "white text",
"ratio": 9.92
},
{
"color": "Eggplant",
"background": "#614051",
"foreground": "#FFFFFF",
"label": "white text",
"ratio": 8.9
}
]
},
"useCases": {
"chooseFirstWhen": "Imperial Purple is better when the design needs balanced purple character, cool temperature, and the specific HEX value #602F6B.",
"chooseSecondWhen": "Eggplant is better when the design needs muted pink character, warm temperature, and the specific HEX value #614051.",
"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/imperial-purple-vs-eggplant.json",
"https://www.colorsencyclopedia.com/api/colors/imperial-purple.json",
"https://www.colorsencyclopedia.com/api/colors/eggplant.json"
],
"url": "https://www.colorsencyclopedia.com/compare/imperial-purple-vs-eggplant/",
"apiUrl": "https://www.colorsencyclopedia.com/api/compare/imperial-purple-vs-eggplant.json"
}