#40325A color

#40325A rgb(64, 50, 90)
Shades of purple

The hex color #40325A is a dark, desaturated violet.

In the RGB color model it is made of 25.1% red, 19.6% green and 35.3% blue (64, 50, 90).

Its hue angle is 261°, with 29% saturation and 27% lightness. For print, the CMYK equivalent is 29% cyan, 44% magenta, 0% yellow and 65% black.

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

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

#40325A color codes

HEX#40325A
RGBrgb(64, 50, 90)
RGB percentrgb(25.1%, 19.6%, 35.3%)
HSLhsl(261, 29%, 27%)
HSV / HSBhsv(261, 44%, 35%)
CMYKcmyk(29%, 44%, 0%, 65%)
CIE LABlab(24.03, 16.05, -21.8)
CIE LCHlch(24.03, 27.07, 306.35)
CIE XYZxyz(5.1, 4.109, 10.195)
Decimal4207194
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #40325A, 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 #40325ARatioAAAAAAA large
Sample text1.82:1FailFailFail
Sample text11.53:1PassPassPass
#40325A as text onRatioAAAAAAA large
Sample text11.53:1PassPassPass
Sample text1.82: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 #40325A looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #40325a; }
.text { color: #40325a; }
.border { border: 2px solid #40325a; }
.transparent { background-color: rgb(64 50 90 / 50%); }
.gradient { background: linear-gradient(to right, #40325a, #54325a); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Purple.

Questions

What color is #40325A?
#40325A 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 #40325A?
The RGB value is 64, 50, 90: 64 red, 50 green and 90 blue on a 0 to 255 scale.
What is the complementary color of #40325A?
The complementary color is #4C5A32, found by rotating the hue 180° on the color wheel.
Is black or white text better on #40325A?
White text. Black text has a contrast ratio of 1.82:1 and white text 11.53:1. WCAG asks for at least 4.5:1 for normal text.