#42335C color

#42335C rgb(66, 51, 92)
Shades of purple

The hex color #42335C is a dark, desaturated violet.

In the RGB color model it is made of 25.9% red, 20% green and 36.1% blue (66, 51, 92).

Its hue angle is 262°, with 29% saturation and 28% lightness. For print, the CMYK equivalent is 28% cyan, 45% magenta, 0% yellow and 64% black.

The closest named color is Midnight Pie (#372D52), a difference of 2.9 ΔE, a small difference.

White text is the more readable choice on this background (contrast 11.29:1).

#42335C color codes

HEX#42335C
RGBrgb(66, 51, 92)
RGB percentrgb(25.9%, 20%, 36.1%)
HSLhsl(262, 29%, 28%)
HSV / HSBhsv(262, 45%, 36%)
CMYKcmyk(28%, 45%, 0%, 64%)
CIE LABlab(24.63, 16.61, -22.15)
CIE LCHlch(24.63, 27.69, 306.87)
CIE XYZxyz(5.362, 4.299, 10.67)
Decimal4338524
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #42335C, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #42335CRatioAAAAAAA large
Sample text1.86:1FailFailFail
Sample text11.29:1PassPassPass
#42335C as text onRatioAAAAAAA large
Sample text11.29:1PassPassPass
Sample text1.86:1FailFailFail

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #42335C looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #42335c; }
.text { color: #42335c; }
.border { border: 2px solid #42335c; }
.transparent { background-color: rgb(66 51 92 / 50%); }
.gradient { background: linear-gradient(to right, #42335c, #57335c); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Purple.

Questions

What color is #42335C?
#42335C is a dark, desaturated violet, closest to the named color Midnight Pie. It belongs to the purple family of colors.
What is the RGB value of #42335C?
The RGB value is 66, 51, 92: 66 red, 51 green and 92 blue on a 0 to 255 scale.
What is the complementary color of #42335C?
The complementary color is #4D5C33, found by rotating the hue 180° on the color wheel.
Is black or white text better on #42335C?
White text. Black text has a contrast ratio of 1.86:1 and white text 11.29:1. WCAG asks for at least 4.5:1 for normal text.