#6A28CC

Color Details

HEX
#6A28CC
RGB
rgb(106, 40, 204)
HSL
hsl(264, 67%, 48%)
CMYK
cmyk(48%, 80%, 0%, 20%)
Best text on this color #FFFFFF (CR 7.53:1) Determined by WCAG contrast ratio

Complement & Analogous

Monochrome

Analogous

Complementary Mix

Embed #6A28CC swatch

Embed this swatch

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

Open image

About #6A28CC

#6A28CC converts to RGB(106, 40, 204) and HSL(264, 67%, 48%). 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).

#6A28CC FAQs

What is the RGB value of #6A28CC?
RGB: 106, 40, 204. Copy as CSS: rgb(106, 40, 204)
Is #6A28CC a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #6A28CC?
Complement: #8bcc28.
Does #6A28CC have good contrast on white or black?
On white: 7.53:1 (AAA (normal text)). On black: 2.79:1 (Fails AA).