#40182F color

#40182F rgb(64, 24, 47)
Shades of purple

The hex color #40182F is a very dark, desaturated rose.

In the RGB color model it is made of 25.1% red, 9.4% green and 18.4% blue (64, 24, 47).

Its hue angle is 326°, with 45% saturation and 17% lightness. For print, the CMYK equivalent is 0% cyan, 63% magenta, 27% yellow and 75% black.

The closest named color is Blackberry (#43182F), a difference of 0.9 ΔE, which is barely visible.

White text is the more readable choice on this background (contrast 15.11:1).

#40182F color codes

HEX#40182F
RGBrgb(64, 24, 47)
RGB percentrgb(25.1%, 9.4%, 18.4%)
HSLhsl(326, 45%, 17%)
HSV / HSBhsv(326, 63%, 25%)
CMYKcmyk(0%, 63%, 27%, 75%)
CIE LABlab(15.22, 22.65, -5.97)
CIE LCHlch(15.22, 23.43, 345.23)
CIE XYZxyz(2.954, 1.949, 2.909)
Decimal4200495
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #40182F, 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 #40182FRatioAAAAAAA large
Sample text1.39:1FailFailFail
Sample text15.11:1PassPassPass
#40182F as text onRatioAAAAAAA large
Sample text15.11:1PassPassPass
Sample text1.39: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 #40182F looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #40182f; }
.text { color: #40182f; }
.border { border: 2px solid #40182f; }
.transparent { background-color: rgb(64 24 47 / 50%); }
.gradient { background: linear-gradient(to right, #40182f, #40181b); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Purple.

Questions

What color is #40182F?
#40182F is a very dark, desaturated rose, closest to the named color Blackberry. It belongs to the purple family of colors.
What is the RGB value of #40182F?
The RGB value is 64, 24, 47: 64 red, 24 green and 47 blue on a 0 to 255 scale.
What is the complementary color of #40182F?
The complementary color is #184029, found by rotating the hue 180° on the color wheel.
Is black or white text better on #40182F?
White text. Black text has a contrast ratio of 1.39:1 and white text 15.11:1. WCAG asks for at least 4.5:1 for normal text.