#40253B color

#40253B rgb(64, 37, 59)
Shades of purple

The hex color #40253B is a very dark, desaturated magenta.

In the RGB color model it is made of 25.1% red, 14.5% green and 23.1% blue (64, 37, 59).

Its hue angle is 311°, with 27% saturation and 20% lightness. For print, the CMYK equivalent is 0% cyan, 42% magenta, 8% yellow and 75% black.

The closest named color is Purple Void (#442244), a difference of 4.1 ΔE, a small difference.

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

#40253B color codes

HEX#40253B
RGBrgb(64, 37, 59)
RGB percentrgb(25.1%, 14.5%, 23.1%)
HSLhsl(311, 27%, 20%)
HSV / HSBhsv(311, 42%, 25%)
CMYKcmyk(0%, 42%, 8%, 75%)
CIE LABlab(18.92, 16.84, -8.81)
CIE LCHlch(18.92, 19, 332.38)
CIE XYZxyz(3.565, 2.729, 4.476)
Decimal4203835
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #40253B, 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 #40253BRatioAAAAAAA large
Sample text1.55:1FailFailFail
Sample text13.59:1PassPassPass
#40253B as text onRatioAAAAAAA large
Sample text13.59:1PassPassPass
Sample text1.55: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 #40253B looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #40253b; }
.text { color: #40253b; }
.border { border: 2px solid #40253b; }
.transparent { background-color: rgb(64 37 59 / 50%); }
.gradient { background: linear-gradient(to right, #40253b, #40252e); }
Background
Text color
Border

Similar colors

Questions

What color is #40253B?
#40253B 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 #40253B?
The RGB value is 64, 37, 59: 64 red, 37 green and 59 blue on a 0 to 255 scale.
What is the complementary color of #40253B?
The complementary color is #25402A, found by rotating the hue 180° on the color wheel.
Is black or white text better on #40253B?
White text. Black text has a contrast ratio of 1.55:1 and white text 13.59:1. WCAG asks for at least 4.5:1 for normal text.