#331642 color

#331642 rgb(51, 22, 66)
Shades of purple

The hex color #331642 is a very dark, moderate violet.

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

Its hue angle is 280°, with 50% saturation and 17% lightness. For print, the CMYK equivalent is 23% cyan, 67% magenta, 0% yellow and 74% black.

The closest named color is Creatures of the Night (#3B193F), a difference of 3.1 ΔE, a small difference.

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

#331642 color codes

HEX#331642
RGBrgb(51, 22, 66)
RGB percentrgb(20%, 8.6%, 25.9%)
HSLhsl(280, 50%, 17%)
HSV / HSBhsv(280, 67%, 26%)
CMYKcmyk(23%, 67%, 0%, 74%)
CIE LABlab(13.66, 23.5, -22.06)
CIE LCHlch(13.66, 32.24, 316.81)
CIE XYZxyz(2.635, 1.671, 5.337)
Decimal3348034
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #331642, 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 #331642RatioAAAAAAA large
Sample text1.33:1FailFailFail
Sample text15.74:1PassPassPass
#331642 as text onRatioAAAAAAA large
Sample text15.74:1PassPassPass
Sample text1.33: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 #331642 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #331642; }
.text { color: #331642; }
.border { border: 2px solid #331642; }
.transparent { background-color: rgb(51 22 66 / 50%); }
.gradient { background: linear-gradient(to right, #331642, #42163b); }
Background
Text color
Border

Similar colors

Questions

What color is #331642?
#331642 is a very dark, moderate violet, closest to the named color Creatures of the Night. It belongs to the purple family of colors.
What is the RGB value of #331642?
The RGB value is 51, 22, 66: 51 red, 22 green and 66 blue on a 0 to 255 scale.
What is the complementary color of #331642?
The complementary color is #254216, found by rotating the hue 180° on the color wheel.
Is black or white text better on #331642?
White text. Black text has a contrast ratio of 1.33:1 and white text 15.74:1. WCAG asks for at least 4.5:1 for normal text.