Royal Decree color: hex code #403547
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 | |
|---|---|---|
| RGB | rgb(64, 53, 71) | |
| RGB percent | rgb(25.1%, 20.8%, 27.8%) | |
| HSL | hsl(277, 15%, 24%) | |
| HSV / HSB | hsv(277, 25%, 28%) | |
| CMYK | cmyk(10%, 25%, 0%, 72%) | |
| CIE LAB | lab(23.97, 8.92, -9.3) | |
| CIE LCH | lch(23.97, 12.89, 313.83) | |
| CIE XYZ | xyz(4.525, 4.091, 6.511) | |
| Decimal | 4207943 | |
| Short hex | None (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 #403547 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.82:1 | Fail | Fail | Fail |
| Sample text | 11.55:1 | Pass | Pass | Pass |
| #403547 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.55:1 | Pass | Pass | Pass |
| Sample text | 1.82: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 #403547 looks to people with the most common types of color vision deficiency.
#323848Protanopia
no red cones#353946Deuteranopia
no green cones#3f373bTritanopia
no blue cones#393939Achromatopsia
no color vision
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); }
Similar colors
#42364cCall It a Night#3f354fMaharaja#443240Voodoo#413d4bItalian Grape#393540Professor Plum#3c2f4eSanctum of Shadows#4f4554Black Magic#333344Shuriken
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.