#40065D color

#40065D rgb(64, 6, 93)
Shades of purple

The hex color #40065D is a very dark, vivid magenta.

In the RGB color model it is made of 25.1% red, 2.4% green and 36.5% blue (64, 6, 93).

Its hue angle is 280°, with 88% saturation and 19% lightness. For print, the CMYK equivalent is 31% cyan, 94% magenta, 0% yellow and 64% black.

The closest named color is Cotinga Purple (#340059), a difference of 2.5 ΔE, a small difference.

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

#40065D color codes

HEX#40065D
RGBrgb(64, 6, 93)
RGB percentrgb(25.1%, 2.4%, 36.5%)
HSLhsl(280, 88%, 19%)
HSV / HSBhsv(280, 94%, 36%)
CMYKcmyk(31%, 94%, 0%, 64%)
CIE LABlab(15.54, 40.17, -37.4)
CIE LCHlch(15.54, 54.89, 317.05)
CIE XYZxyz(4.155, 2.011, 10.523)
Decimal4195933
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #40065D, 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 #40065DRatioAAAAAAA large
Sample text1.4:1FailFailFail
Sample text14.98:1PassPassPass
#40065D as text onRatioAAAAAAA large
Sample text14.98:1PassPassPass
Sample text1.4: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 #40065D looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #40065d; }
.text { color: #40065d; }
.border { border: 2px solid #40065d; }
.transparent { background-color: rgb(64 6 93 / 50%); }
.gradient { background: linear-gradient(to right, #40065d, #5d064e); }
Background
Text color
Border

Similar colors

Closest common color name: Indigo.

Questions

What color is #40065D?
#40065D is a very dark, vivid magenta, closest to the named color Cotinga Purple. It belongs to the purple family of colors.
What is the RGB value of #40065D?
The RGB value is 64, 6, 93: 64 red, 6 green and 93 blue on a 0 to 255 scale.
What is the complementary color of #40065D?
The complementary color is #235D06, found by rotating the hue 180° on the color wheel.
Is black or white text better on #40065D?
White text. Black text has a contrast ratio of 1.4:1 and white text 14.98:1. WCAG asks for at least 4.5:1 for normal text.