#2A1E3D

Color Details

HEX
#2A1E3D
RGB
rgb(42, 30, 61)
HSL
hsl(263, 34%, 18%)
CMYK
cmyk(31%, 51%, 0%, 76%)
Best text on this color #FFFFFF (CR 15.54:1) Determined by WCAG contrast ratio

Complement & Analogous

Monochrome

Analogous

Complementary Mix

Embed #2A1E3D swatch

Embed this swatch

Use this HTML on your site (free with a link):

Open image

About #2A1E3D

#2A1E3D converts to RGB(42, 30, 61) and HSL(263, 34%, 18%). This page provides quick readability checks, related hues (complementary and analogous), and ready-made palettes so you can drop the color into UI components, images, or CSS immediately.

Tip: Use the “Best text” chip above as a safe default foreground on this color (chosen by contrast ratio).

#2A1E3D FAQs

What is the RGB value of #2A1E3D?
RGB: 42, 30, 61. Copy as CSS: rgb(42, 30, 61)
Is #2A1E3D a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #2A1E3D?
Complement: #323e1e.
Does #2A1E3D have good contrast on white or black?
On white: 15.54:1 (AAA (normal text)). On black: 1.35:1 (Fails AA).