Palettes / Colors / #562FCB
#562FCB — Purple
#562FCB is a purple color we call Purple, closest to the named color SlateBlue (#6A5ACD). It belongs to the purple family.
Color name
Closest CSS keyword: slateblue (#6A5ACD) — not an exact match. CSS slateblue gives you #6A5ACD, a different color; use #562FCB when you need this exact shade.
Sources: common names follow widely used color-name references; CSS keywords and their hex values follow the CSS Color specification.
#562FCB is a cool purple color associated with luxury, creativity and mystery. It is saturated enough to be the accent — buttons, highlights and calls to action — while neutrals do the quiet work around it.
Its strongest partner is its complement #A4CA2F; it also sits naturally between #2F56CA and #A42FCA. In the palettes below you can see it working alongside real color combinations from our collection.
Color values
| HEX | #562FCB |
|---|---|
| RGB | 86, 47, 203 |
| HSL | 255°, 62%, 49% |
| HSV | 255°, 77%, 80% |
| CMYK | 58%, 77%, 0%, 20% |
| XYZ | 15.63, 8.32, 57.28 |
| Yxy | 8.32, 0.1924, 0.1025 |
| CIE-Lab | 34.65, 55.65, -74.13 |
| Hunter Lab | 28.85, 48.54, -102.91 |
RGB & CMYK percentages
Red 34% · Green 18% · Blue 80%
Cyan 58% · Magenta 77% · Yellow 0% · Key 20%
CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.
Previews
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
CSS code for #562FCB
.text { color: #562FCB; }
.background { background-color: #562FCB; }
.border { border: 3px solid #562FCB; }
.text-rgb { color: rgb(86, 47, 203); }
.text-hsl { color: hsl(255, 62%, 49%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #562FCB; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(86, 47, 203, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #562FCB; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(86, 47, 203, 0.8); }
HTML: <p style="color:#562FCB">Text here</p> · <div style="background-color:#562FCB">Div content here</div>
Shades of #562FCB
Tints of #562FCB
Tones of #562FCB
Color harmonies
Complementary — #A4CA2F:
Analogous:
Triadic:
Contrast & accessibility
| Against white text | 7.88:1 AAA |
|---|---|
| Against black text | 2.66:1 Fails |
Best text color on #562FCB: #FFFFFF.
Semi-transparent (opacity) text on #562FCB
Text set with opacity blends into the background, so its real contrast is lower than the solid ratios above. Choose a text color and an opacity to see the blended color and its true ratio:
Smaller body text shows the effect best.
Blended color: · Contrast against #562FCB: ·
How #562FCB looks with color blindness
Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:
Closest design-system colors
The nearest matches in the Tailwind CSS, Material Design and Bootstrap palettes — handy when you need a framework class instead of a raw hex:
Palettes with a similar color
These palettes use a close neighbour of #562FCB rather than the exact color:
Similar colors
The closest colors that actually appear in our palette collection — click any to open its page:
Browse neighbouring colors
Frequently asked questions
What color is #562FCB?
#562FCB is Purple, a purple color (RGB 86, 47, 203). Its closest standard named color is SlateBlue.
What is the RGB and HSL of #562FCB?
#562FCB is RGB 86, 47, 203 — HSL 255°, 62%, 49% — CMYK 58%, 77%, 0%, 20%.
What colors go with #562FCB?
Its complement is #A4CA2F; analogous partners are #2F56CA and #A42FCA. It also appears in 6+ palettes in our collection.
Can I use #562FCB for text?
White text on #562FCB has a contrast ratio of 7.88:1 (passes WCAG AA); black text gives 2.66:1.