#40243F color
The hex color #40243F is a very dark, desaturated magenta.
In the RGB color model it is made of 25.1% red, 14.1% green and 24.7% blue (64, 36, 63).
Its hue angle is 302°, with 28% saturation and 20% lightness. For print, the CMYK equivalent is 0% cyan, 44% magenta, 2% yellow and 75% black.
The closest named color is Purple Void (#442244), a difference of 2.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.62:1).
#40243F color codes
| HEX | #40243F | |
|---|---|---|
| RGB | rgb(64, 36, 63) | |
| RGB percent | rgb(25.1%, 14.1%, 24.7%) | |
| HSL | hsl(302, 28%, 20%) | |
| HSV / HSB | hsv(302, 44%, 25%) | |
| CMYK | cmyk(0%, 44%, 2%, 75%) | |
| CIE LAB | lab(18.85, 18.37, -11.7) | |
| CIE LCH | lch(18.85, 21.78, 327.52) | |
| CIE XYZ | xyz(3.642, 2.711, 5.033) | |
| Decimal | 4203583 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #40243F, 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 #40243F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.54:1 | Fail | Fail | Fail |
| Sample text | 13.62:1 | Pass | Pass | Pass |
| #40243F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.62:1 | Pass | Pass | Pass |
| Sample text | 1.54: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 #40243F looks to people with the most common types of color vision deficiency.
#222c40Protanopia
no red cones#2a2f3eDeuteranopia
no green cones#42262eTritanopia
no blue cones#2e2e2eAchromatopsia
no color vision
CSS examples
.background { background-color: #40243f; }
.text { color: #40243f; }
.border { border: 2px solid #40243f; }
.transparent { background-color: rgb(64 36 63 / 50%); }
.gradient { background: linear-gradient(to right, #40243f, #402431); }
Similar colors
#442244Purple Void#4f284bMurasaki#301934Dark Purple#3b193fCreatures of the Night#391531Nightly Voyager#4e334eShadow Purple#543254Purple Prose#43182fBlackberry
Questions
- What color is #40243F?
- #40243F is a very dark, desaturated magenta, closest to the named color Purple Void. It belongs to the purple family of colors.
- What is the RGB value of #40243F?
- The RGB value is 64, 36, 63: 64 red, 36 green and 63 blue on a 0 to 255 scale.
- What is the complementary color of #40243F?
- The complementary color is #244025, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #40243F?
- White text. Black text has a contrast ratio of 1.54:1 and white text 13.62:1. WCAG asks for at least 4.5:1 for normal text.