#40065D color
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 | |
|---|---|---|
| RGB | rgb(64, 6, 93) | |
| RGB percent | rgb(25.1%, 2.4%, 36.5%) | |
| HSL | hsl(280, 88%, 19%) | |
| HSV / HSB | hsv(280, 94%, 36%) | |
| CMYK | cmyk(31%, 94%, 0%, 64%) | |
| CIE LAB | lab(15.54, 40.17, -37.4) | |
| CIE LCH | lch(15.54, 54.89, 317.05) | |
| CIE XYZ | xyz(4.155, 2.011, 10.523) | |
| Decimal | 4195933 | |
| Short hex | None (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 #40065D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.4:1 | Fail | Fail | Fail |
| Sample text | 14.98:1 | Pass | Pass | Pass |
| #40065D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.98:1 | Pass | Pass | Pass |
| Sample text | 1.4:1 | Fail | Fail | Fail |
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.
#00255fProtanopia
no red cones#00285bDeuteranopia
no green cones#3c1f34Tritanopia
no blue cones#272727Achromatopsia
no color vision
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); }
Similar colors
#340059Cotinga Purple#37115cWicked Purple#330055Hollow Knight#480656Clairvoyant#540d6eVelvet Vortex#341758Fabric of Space#2f1064Infinite Inkwell#3b0346Romanic Scene
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.