Maroon Colors  ·  Color Library

Palettes / Colors / #A42FCA

#A42FCA — Purple

#A42FCA is a purple color we call Purple, closest to the named color DarkOrchid (#9932CC). It belongs to the purple family.

Color name

Closest CSS keyword: darkorchid (#9932CC) — not an exact match. CSS darkorchid gives you #9932CC, a different color; use #A42FCA 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.

#A42FCA 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 #56CA2F; it also sits naturally between #562FCA and #CA2FA4. In the palettes below you can see it working alongside real color combinations from our collection.

#A42FCA · RGB 164, 47, 202

Download PNG swatch SVG

Color values

HEX#A42FCA
RGB164, 47, 202
HSL285°, 62%, 49%
HSV285°, 77%, 79%
CMYK19%, 77%, 0%, 21%
XYZ26.99, 14.19, 57.19
Yxy14.19, 0.2743, 0.1442
CIE-Lab44.50, 67.84, -57.05
Hunter Lab37.67, 64.99, -68.23

RGB & CMYK percentages

Red 64% · Green 18% · Blue 79%

Cyan 19% · Magenta 77% · Yellow 0% · Key 21%

CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.

Previews

Sample text in #A42FCA on black
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Sample text in #A42FCA on white
Lorem ipsum dolor sit amet, consectetur adipiscing elit.

CSS code for #A42FCA

.text { color: #A42FCA; }
.background { background-color: #A42FCA; }
.border { border: 3px solid #A42FCA; }
.text-rgb { color: rgb(164, 47, 202); }
.text-hsl { color: hsl(285, 62%, 49%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #A42FCA; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(164, 47, 202, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #A42FCA; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(164, 47, 202, 0.8); }

HTML: <p style="color:#A42FCA">Text here</p> · <div style="background-color:#A42FCA">Div content here</div>

Shades of #A42FCA

#962CBA#8627A5#782395#681E80#5A1A70#49155B#3C114A#2B0D36#1E0925#0D0411

Tints of #A42FCA

#AE41D2#B551D6#BE66DB#C77BE0#CF8FE5#D7A0E9#DFB5EE#E8C9F2#EFDAF6#F8EEFB

Tones of #A42FCA

#9E3BBF#9846B4#9351A9#8E5B9F#886693#837288

Color harmonies

Complementary — #56CA2F:

Analogous:

Triadic:

Contrast & accessibility

Against white text5.47:1 AA
Against black text3.84:1 AA large only

Best text color on #A42FCA: #FFFFFF.

Semi-transparent (opacity) text on #A42FCA

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:

100%
Sample heading text
Smaller body text shows the effect best.

Blended color: · Contrast against #A42FCA: ·

How #A42FCA looks with color blindness

Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:

Protanopia · #7170A4Deuteranopia · #78819BTritanopia · #9E8780

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:

Material Purple 500 · #9C27B0Tailwind fuchsia 600 · #C026D3Tailwind purple 600 · #9333EA

Palettes with a similar color

These palettes use a close neighbour of #A42FCA rather than the exact color:

Hidden Ruby Harbor
#C06ADD · #A52CCE · #9225B6 · #3F134D
Tranquil Voyage
#2CB89D · #A72FC4 · #C7A92F · #D5F0EA
Tender Meadow
#3E278D · #A437C6 · #D978BC · #E7A8B2
Wild Ruby Opal
#3D1E6C · #A937CA · #5B2253 · #8D305D
Crystal Voyage
#4421A3 · #9B2BCF · #99148B · #D12A7A
Serene Ruby Whisper
#1B8F79 · #A825C7 · #E0C658 · #D4F2F1

Similar colors

The closest colors that actually appear in our palette collection — click any to open its page:

#A52CCE#A72FC4#A437C6#A937CA#9B2BCF#A825C7#A930C0#9C2DD3#A632BE#9A30C2#A827D4#9C3AC8

Browse neighbouring colors

← #A42FC9  ·  #A42FCB →

Frequently asked questions

What color is #A42FCA?

#A42FCA is Purple, a purple color (RGB 164, 47, 202). Its closest standard named color is DarkOrchid.

What is the RGB and HSL of #A42FCA?

#A42FCA is RGB 164, 47, 202 — HSL 285°, 62%, 49% — CMYK 19%, 77%, 0%, 21%.

What colors go with #A42FCA?

Its complement is #56CA2F; analogous partners are #562FCA and #CA2FA4. It also appears in 6+ palettes in our collection.

Can I use #A42FCA for text?

White text on #A42FCA has a contrast ratio of 5.47:1 (passes WCAG AA); black text gives 3.84:1.