#400F39 color
The hex color #400F39 is a very dark, moderate magenta.
In the RGB color model it is made of 25.1% red, 5.9% green and 22.4% blue (64, 15, 57).
Its hue angle is 309°, with 62% saturation and 15% lightness. For print, the CMYK equivalent is 0% cyan, 77% magenta, 11% yellow and 75% black.
The closest named color is Velvet Cosmos (#441144), a difference of 2.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 15.61:1).
#400F39 color codes
| HEX | #400F39 | |
|---|---|---|
| RGB | rgb(64, 15, 57) | |
| RGB percent | rgb(25.1%, 5.9%, 22.4%) | |
| HSL | hsl(309, 62%, 15%) | |
| HSV / HSB | hsv(309, 77%, 25%) | |
| CMYK | cmyk(0%, 77%, 11%, 75%) | |
| CIE LAB | lab(13.99, 29.18, -15.03) | |
| CIE LCH | lch(13.99, 32.83, 332.75) | |
| CIE XYZ | xyz(3.024, 1.727, 4.044) | |
| Decimal | 4198201 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #400F39, 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 #400F39 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.35:1 | Fail | Fail | Fail |
| Sample text | 15.61:1 | Pass | Pass | Pass |
| #400F39 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.61:1 | Pass | Pass | Pass |
| Sample text | 1.35: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 #400F39 looks to people with the most common types of color vision deficiency.
#0e1f3aProtanopia
no red cones#1f2638Deuteranopia
no green cones#431322Tritanopia
no blue cones#242424Achromatopsia
no color vision
CSS examples
.background { background-color: #400f39; }
.text { color: #400f39; }
.border { border: 2px solid #400f39; }
.transparent { background-color: rgb(64 15 57 / 50%); }
.gradient { background: linear-gradient(to right, #400f39, #400f21); }
Similar colors
#441144Velvet Cosmos#3b193fCreatures of the Night#391531Nightly Voyager#3f012cDark Sanctuary#442244Purple Void#2b0f2eDark Prom Queen#330022Vienna Roast#4c022fEvil Empire
Closest common color name: Dark Purple.
Questions
- What color is #400F39?
- #400F39 is a very dark, moderate magenta, closest to the named color Velvet Cosmos. It belongs to the purple family of colors.
- What is the RGB value of #400F39?
- The RGB value is 64, 15, 57: 64 red, 15 green and 57 blue on a 0 to 255 scale.
- What is the complementary color of #400F39?
- The complementary color is #0F4016, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #400F39?
- White text. Black text has a contrast ratio of 1.35:1 and white text 15.61:1. WCAG asks for at least 4.5:1 for normal text.