#40062A color

#40062A rgb(64, 6, 42)
Shades of black

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
RGBrgb(64, 6, 42)
RGB percentrgb(25.1%, 2.4%, 16.5%)
HSLhsl(323, 83%, 14%)
HSV / HSBhsv(323, 91%, 25%)
CMYKcmyk(0%, 91%, 34%, 75%)
CIE LABlab(11.88, 30.45, -7.39)
CIE LCHlch(11.88, 31.34, 346.35)
CIE XYZxyz(2.598, 1.388, 2.321)
Decimal4195882
Short hexNone (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 #40062ARatioAAAAAAA large
Sample text1.28:1FailFailFail
Sample text16.44:1PassPassPass
#40062A as text onRatioAAAAAAA large
Sample text16.44:1PassPassPass
Sample text1.28: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 #40062A looks to people with the most common types of color vision deficiency.

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); }
Background
Text color
Border

Similar colors

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.