Royal Decree color: hex code #403547

#403547 rgb(64, 53, 71)
Shades of gray

Royal Decree has the hex code #403547. It is a dark, grayish violet.

In the RGB color model it is made of 25.1% red, 20.8% green and 27.8% blue (64, 53, 71).

Its hue angle is 277°, with 15% saturation and 24% lightness. For print, the CMYK equivalent is 10% cyan, 25% magenta, 0% yellow and 72% black.

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

Royal Decree (#403547) color codes

HEX#403547
RGBrgb(64, 53, 71)
RGB percentrgb(25.1%, 20.8%, 27.8%)
HSLhsl(277, 15%, 24%)
HSV / HSBhsv(277, 25%, 28%)
CMYKcmyk(10%, 25%, 0%, 72%)
CIE LABlab(23.97, 8.92, -9.3)
CIE LCHlch(23.97, 12.89, 313.83)
CIE XYZxyz(4.525, 4.091, 6.511)
Decimal4207943
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with Royal Decree, 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 #403547RatioAAAAAAA large
Sample text1.82:1FailFailFail
Sample text11.55:1PassPassPass
#403547 as text onRatioAAAAAAA large
Sample text11.55:1PassPassPass
Sample text1.82: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 #403547 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #403547; }
.text { color: #403547; }
.border { border: 2px solid #403547; }
.transparent { background-color: rgb(64 53 71 / 50%); }
.gradient { background: linear-gradient(to right, #403547, #473545); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Purple.

See #403547 on its hex code page

Questions

What color is #403547?
#403547 is a dark, grayish violet known as Royal Decree. It belongs to the gray family of colors.
What is the RGB value of Royal Decree?
The RGB value is 64, 53, 71: 64 red, 53 green and 71 blue on a 0 to 255 scale.
What is the complementary color of Royal Decree?
The complementary color is #3C4735, found by rotating the hue 180° on the color wheel.
Is black or white text better on #403547?
White text. Black text has a contrast ratio of 1.82:1 and white text 11.55:1. WCAG asks for at least 4.5:1 for normal text.