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": "royal-purple-vs-amethyst-deep",
"type": "nearest",
"name": "Royal Purple vs Amethyst Deep",
"verdict": "Royal Purple and Amethyst Deep are visually related colors. Royal Purple is the lighter option. They share similar temperature behavior. Their mutual contrast is 1.39:1, so the pair is too low for text and better treated as a palette relationship.",
"summary": "Royal Purple and Amethyst Deep are different purple colors with HEX values #7851A9 and #5D3A9B. According to Colors Encyclopedia, their RGB distance is 38.1, their contrast ratio is 1.39:1, and the comparison helps choose between tone, temperature, and accessibility behavior.",
"rgbDistance": 38.1,
"contrastRatio": 1.39,
"colors": [
{
"slug": "royal-purple",
"name": "Royal Purple",
"hex": "#7851A9",
"rgb": [
120,
81,
169
],
"hsl": [
267,
35,
49
],
"cmyk": [
29,
52,
0,
34
],
"family": "purple",
"temperature": "cool",
"tone": [
"balanced"
],
"luminance": 0.1274,
"contrast": {
"black": 3.55,
"white": 5.92
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": []
},
"bestText": {
"text": "#FFFFFF",
"label": "white text",
"ratio": 5.92
},
"description": "Royal Purple is #7851A9, a cool purple color with balanced character. Compared with Amethyst Deep, 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/royal-purple/",
"apiUrl": "https://www.colorsencyclopedia.com/api/colors/royal-purple.json"
},
{
"slug": "amethyst-deep",
"name": "Amethyst Deep",
"hex": "#5D3A9B",
"rgb": [
93,
58,
155
],
"hsl": [
262,
46,
42
],
"cmyk": [
40,
63,
0,
39
],
"family": "purple",
"temperature": "cool",
"tone": [
"jewel-tone"
],
"luminance": 0.0772,
"contrast": {
"black": 2.54,
"white": 8.25
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": [
"#FFFFFF",
"#F5F5F5"
]
},
"bestText": {
"text": "#FFFFFF",
"label": "white text",
"ratio": 8.25
},
"description": "Amethyst Deep is #5D3A9B, a cool purple color with jewel tone character. Compared with Royal Purple, it is darker and more saturated. Use it for jewel-tone palettes, luxury branding, and premium interface accents, with white text as the safer foreground option.",
"url": "https://www.colorsencyclopedia.com/colors/amethyst-deep/",
"apiUrl": "https://www.colorsencyclopedia.com/api/colors/amethyst-deep.json"
}
],
"differences": {
"rgbDistance": 38.1,
"contrastRatio": 1.39,
"hslDelta": {
"hue": 5,
"saturation": 11,
"lightness": 7
},
"luminanceDelta": 0.0502,
"sameFamily": true,
"sameTemperature": true,
"sharedTones": [],
"lighterColor": "Royal Purple",
"moreSaturatedColor": "Amethyst Deep"
},
"accessibility": {
"pairContrastRatio": 1.39,
"textRecommendation": "Do not use this pair for text; use it for neighboring palette colors, decoration, or low-emphasis surfaces.",
"safeText": [
{
"color": "Royal Purple",
"background": "#7851A9",
"foreground": "#FFFFFF",
"label": "white text",
"ratio": 5.92
},
{
"color": "Amethyst Deep",
"background": "#5D3A9B",
"foreground": "#FFFFFF",
"label": "white text",
"ratio": 8.25
}
]
},
"useCases": {
"chooseFirstWhen": "Royal Purple is better when the design needs balanced purple character, cool temperature, and the specific HEX value #7851A9.",
"chooseSecondWhen": "Amethyst Deep is better when the design needs jewel tone purple character, cool temperature, and the specific HEX value #5D3A9B.",
"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/royal-purple-vs-amethyst-deep.json",
"https://www.colorsencyclopedia.com/api/colors/royal-purple.json",
"https://www.colorsencyclopedia.com/api/colors/amethyst-deep.json"
],
"url": "https://www.colorsencyclopedia.com/compare/royal-purple-vs-amethyst-deep/",
"apiUrl": "https://www.colorsencyclopedia.com/api/compare/royal-purple-vs-amethyst-deep.json"
}