Skip to content
AI Color

#342A41 — Onyx

#342A41 is a dark desaturated purple sitting at 266° 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.

#342a41
HEX
RGB
HSL
CMYK
Closest name
Color family
Contrast on white
Contrast on black

Tints and shades of #342A41

Color schemes using #342A41

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

#342A41 FAQ

What color is #342A41?

#342A41 is a shade of onyx in the purple family. It has a hue of 266 degrees, 21% saturation and 21% lightness, which makes it a dark muted color.

What is the RGB value of #342A41?

#342A41 is rgb(52, 42, 65) in RGB, hsl(266, 21%, 21%) in HSL, and cmyk(20%, 35%, 0%, 75%) in CMYK.

Can I use white text on #342A41?

White text on this background reaches 13.52:1, which passes WCAG AA. Black text reaches 1.55:1.

What colors go well with #342A41?

Its direct complement is #37412A. For something less stark, the split-complementary pair #413F2A and #2C412A gives you contrast without the vibration.