#2F2783
Color Details
HEX
#2F2783
RGB
rgb(47, 39, 131)
HSL
hsl(245, 54%, 33%)
CMYK
cmyk(64%, 70%, 0%, 49%)
Best text on this color
#FFFFFF (CR 12.08:1)
Determined by WCAG contrast ratio
Readability Previews
Monochrome
Analogous
Complementary Mix
About #2F2783
#2F2783 converts to RGB(47, 39, 131) and HSL(245, 54%, 33%). 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).
#2F2783 FAQs
What is the RGB value of #2F2783?
RGB: 47, 39, 131. Copy as CSS:
rgb(47, 39, 131)
Is #2F2783 a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #2F2783?
Complement: #7a8227.
Does #2F2783 have good contrast on white or black?
On white: 12.08:1 (AAA (normal text)).
On black: 1.74:1 (Fails AA).