#40062A color
The hex color #40062A is a very dark, vivid rose.
In the RGB color model it is made of 25.1% red, 2.4% green and 16.5% blue (64, 6, 42).
Its hue angle is 323°, with 83% saturation and 14% lightness. For print, the CMYK equivalent is 0% cyan, 91% magenta, 34% yellow and 75% black.
The closest named color is Dark Sanctuary (#3F012C), a difference of 1.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 16.44:1).
#40062A color codes
| HEX | #40062A | |
|---|---|---|
| RGB | rgb(64, 6, 42) | |
| RGB percent | rgb(25.1%, 2.4%, 16.5%) | |
| HSL | hsl(323, 83%, 14%) | |
| HSV / HSB | hsv(323, 91%, 25%) | |
| CMYK | cmyk(0%, 91%, 34%, 75%) | |
| CIE LAB | lab(11.88, 30.45, -7.39) | |
| CIE LCH | lch(11.88, 31.34, 346.35) | |
| CIE XYZ | xyz(2.598, 1.388, 2.321) | |
| Decimal | 4195882 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #40062A, 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 #40062A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.28:1 | Fail | Fail | Fail |
| Sample text | 16.44:1 | Pass | Pass | Pass |
| #40062A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.44:1 | Pass | Pass | Pass |
| Sample text | 1.28: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 #40062A looks to people with the most common types of color vision deficiency.
#10192bProtanopia
no red cones#212329Deuteranopia
no green cones#450417Tritanopia
no blue cones#1f1f1fAchromatopsia
no color vision
CSS examples
.background { background-color: #40062a; }
.text { color: #40062a; }
.border { border: 2px solid #40062a; }
.transparent { background-color: rgb(64 6 42 / 50%); }
.gradient { background: linear-gradient(to right, #40062a, #40060d); }
Similar colors
#3f012cDark Sanctuary#4c022fEvil Empire#330022Vienna Roast#43182fBlackberry#391531Nightly Voyager#441122What We Do in the Shadows#3c1421Chocolate Kiss#3e1825Black-Hearted
Closest common color name: Tyrian Purple.
Questions
- What color is #40062A?
- #40062A is a very dark, vivid rose, closest to the named color Dark Sanctuary. It belongs to the black family of colors.
- What is the RGB value of #40062A?
- The RGB value is 64, 6, 42: 64 red, 6 green and 42 blue on a 0 to 255 scale.
- What is the complementary color of #40062A?
- The complementary color is #06401C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #40062A?
- White text. Black text has a contrast ratio of 1.28:1 and white text 16.44:1. WCAG asks for at least 4.5:1 for normal text.