Skip to content
AI Color

#402D49 — Onyx

#402D49 is a dark desaturated purple sitting at 281° on the color wheel. Below you will find every format, a full tint and shade ramp, contrast ratings, and five harmony schemes built around it.

#402d49
HEX
RGB
HSL
CMYK
Closest name
Color family
Contrast on white
Contrast on black

Tints and shades of #402D49

Color schemes using #402D49

analogous

Neighbouring hues that sit side by side on the color wheel for a calm, cohesive feel.

complementary

Two opposite hues that create the strongest possible contrast and visual tension.

split complementary

A base hue paired with the two neighbours of its complement — bold but easier to balance.

triadic

Three hues spaced evenly around the wheel for a vibrant, well-balanced scheme.

tetradic

Two complementary pairs, giving you the widest range of usable accents.

monochromatic

A single hue explored across lightness and saturation for a refined, minimal look.

Nearby colors

#402D49 FAQ

What color is #402D49?

#402D49 is a shade of onyx in the purple family. It has a hue of 281 degrees, 24% saturation and 23% lightness, which makes it a dark muted color.

What is the RGB value of #402D49?

#402D49 is rgb(64, 45, 73) in RGB, hsl(281, 24%, 23%) in HSL, and cmyk(12%, 38%, 0%, 71%) in CMYK.

Can I use white text on #402D49?

White text on this background reaches 12.43:1, which passes WCAG AA. Black text reaches 1.69:1.

What colors go well with #402D49?

Its direct complement is #35492D. For something less stark, the split-complementary pair #44492D and #2D4932 gives you contrast without the vibration.