#40214B color

#40214B rgb(64, 33, 75)
Shades of purple

The hex color #40214B is a dark, desaturated magenta.

In the RGB color model it is made of 25.1% red, 12.9% green and 29.4% blue (64, 33, 75).

Its hue angle is 284°, with 39% saturation and 21% lightness. For print, the CMYK equivalent is 15% cyan, 56% magenta, 0% yellow and 71% black.

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

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

#40214B color codes

HEX#40214B
RGBrgb(64, 33, 75)
RGB percentrgb(25.1%, 12.9%, 29.4%)
HSLhsl(284, 39%, 21%)
HSV / HSBhsv(284, 56%, 29%)
CMYKcmyk(15%, 56%, 0%, 71%)
CIE LABlab(18.74, 23.13, -20.1)
CIE LCHlch(18.74, 30.64, 319.01)
CIE XYZxyz(3.928, 2.686, 6.967)
Decimal4202827
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #40214B, 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 #40214BRatioAAAAAAA large
Sample text1.54:1FailFailFail
Sample text13.66:1PassPassPass
#40214B as text onRatioAAAAAAA large
Sample text13.66:1PassPassPass
Sample text1.54: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 #40214B looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #40214b; }
.text { color: #40214b; }
.border { border: 2px solid #40214b; }
.transparent { background-color: rgb(64 33 75 / 50%); }
.gradient { background: linear-gradient(to right, #40214b, #4b2141); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Purple.

Questions

What color is #40214B?
#40214B is a dark, desaturated magenta, closest to the named color Creatures of the Night. It belongs to the purple family of colors.
What is the RGB value of #40214B?
The RGB value is 64, 33, 75: 64 red, 33 green and 75 blue on a 0 to 255 scale.
What is the complementary color of #40214B?
The complementary color is #2C4B21, found by rotating the hue 180° on the color wheel.
Is black or white text better on #40214B?
White text. Black text has a contrast ratio of 1.54:1 and white text 13.66:1. WCAG asks for at least 4.5:1 for normal text.