Closest named color · ΔE 1.18
#310552
Closest named color · ΔE 1.18
#310552
Does it pop as a button? Stay readable as a background? Survive at badge size?
If an entire site used it as the primary color, it would feel like this —
Body copy goes here. The primary drives buttons and links, tints fill backgrounds, text uses the highest-contrast color.
Get startedHarmonious schemes generated from color theory.
How this color performs against black and white text.
White text on this background
Aa Ratio 16.48:1
Black text on this background
Aa Ratio 1.27:1
:root {
--color: #310552;
--color-rgb: 49, 5, 82;
--color-hsl: 274.3, 88.5%, 17.1%;
}
.bg-color { background-color: #310552; }
.text-on-color { color: #ffffff; }
.border-color { border-color: #310552; }
.gradient {
background-image: linear-gradient(90deg, #310552 0%, 330066 100%);
}Nearest official code in each standard system, ranked by CIEDE2000.
Official color from public brand materials (simple-icons CC0 dataset)
What the ancients would have called this color.
The same color, as named in Japanese tradition.
Based on the Machado (2009) model - see how this color appears to 8 types of color vision.
Normal vision
#310552
Standard trichromatic vision with all three cone types functioning.
Protanomaly
#110D54
Abnormal L cone sensitivity (~1% of men). Weakened red perception.
Protanopia
#001256
Missing L cones (~1% of men). Reds are hard to perceive.
Deuteranomaly
#160F50
Abnormal M cone sensitivity (~6% of men). The most common deficiency.
Deuteranopia
#04154F
Missing M cones (~1% of men). Reds and greens are confused.
Tritanomaly
#2F0A32
Abnormal S cone sensitivity (extremely rare). Weakened blue-yellow perception.
Tritanopia
#2E0D1D
Missing S cones (extremely rare). Blues and yellows are confused.
Achromatomaly
#251134
Severely weakened color vision (~0.001%). Colors appear washed out.
Achromatopsia
#141414
No color vision at all (~0.003%). The world is shades of grey.
Closest names by CIEDE2000 perceptual distance.
Colors one step away in the RGB space — each with its own profile page.
Names people have given this color - one hex, endless perspectives.
…
Sign in / Sign up · Sign in to name colors. Your names are publicly credited to you.
Common derivatives of this color: lighter / darker / more saturated / less saturated, plus inverted, grayscale, web-safe and the nearest HTML named color. Click any to open its page.
Copy-paste snippets: foreground text, background, text shadow and a complementary gradient.
Text readability sample
color: #310552;Text readability sample
background-color: #310552;Text readability sample
text-shadow: 0.1em 0.1em 0.15em #310552;linear-gradient(90deg, #310552, #265205)Drag hue, saturation and lightness to preview live - find the version that feels right.
This is the color with hex code #310552. Its RGB channels are 49, 5, 82; the closest human-readable name is "Hollow Knight" (ΔE 1.18, CIEDE2000).
#310552 is rgb(49, 5, 82) in RGB, hsl(274.3, 88.5%, 17.1%) in HSL and cmyk(40.2%, 93.9%, 0%, 67.8%) in CMYK.
Its complement #265205 works best, along with triadic and analogous harmonies - see the harmony section below to copy full palettes.
Contrast with black text is 1.27:1 and with white text 16.48:1. WCAG 2.1 requires at least 4.5:1 for body text (AA) and 3:1 for large text.