#2A1E5D
Color Details
HEX
#2A1E5D
RGB
rgb(42, 30, 93)
HSL
hsl(251, 51%, 24%)
CMYK
cmyk(55%, 68%, 0%, 64%)
Best text on this color
#FFFFFF (CR 14.56:1)
Determined by WCAG contrast ratio
Readability Previews
Monochrome
Analogous
Complementary Mix
About #2A1E5D
#2A1E5D converts to RGB(42, 30, 93) and HSL(251, 51%, 24%). 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).
#2A1E5D FAQs
What is the RGB value of #2A1E5D?
RGB: 42, 30, 93. Copy as CSS:
rgb(42, 30, 93)
Is #2A1E5D a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #2A1E5D?
Complement: #515c1e.
Does #2A1E5D have good contrast on white or black?
On white: 14.56:1 (AAA (normal text)).
On black: 1.44:1 (Fails AA).