#38273D color
The hex color #38273D is a very dark, grayish magenta.
In the RGB color model it is made of 22% red, 15.3% green and 23.9% blue (56, 39, 61).
Its hue angle is 286°, with 22% saturation and 20% lightness. For print, the CMYK equivalent is 8% cyan, 36% magenta, 0% yellow and 76% black.
The closest named color is Sanctum of Shadows (#3C2F4E), a difference of 4.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.76:1).
#38273D color codes
| HEX | #38273D | |
|---|---|---|
| RGB | rgb(56, 39, 61) | |
| RGB percent | rgb(22%, 15.3%, 23.9%) | |
| HSL | hsl(286, 22%, 20%) | |
| HSV / HSB | hsv(286, 36%, 24%) | |
| CMYK | cmyk(8%, 36%, 0%, 76%) | |
| CIE LAB | lab(18.49, 12.76, -10.95) | |
| CIE LCH | lch(18.49, 16.81, 319.35) | |
| CIE XYZ | xyz(3.199, 2.629, 4.753) | |
| Decimal | 3680061 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #38273D, 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 #38273D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.53:1 | Fail | Fail | Fail |
| Sample text | 13.76:1 | Pass | Pass | Pass |
| #38273D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.76:1 | Pass | Pass | Pass |
| Sample text | 1.53: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 #38273D looks to people with the most common types of color vision deficiency.
#242c3eProtanopia
no red cones#282e3cDeuteranopia
no green cones#382a2fTritanopia
no blue cones#2d2d2dAchromatopsia
no color vision
CSS examples
.background { background-color: #38273d; }
.text { color: #38273d; }
.border { border: 2px solid #38273d; }
.transparent { background-color: rgb(56 39 61 / 50%); }
.gradient { background: linear-gradient(to right, #38273d, #3d2737); }
Similar colors
#3c2f4eSanctum of Shadows#301934Dark Purple#42364cCall It a Night#443240Voodoo#403547Royal Decree#3f354fMaharaja#4e334eShadow Purple#442244Purple Void
Questions
- What color is #38273D?
- #38273D is a very dark, grayish magenta, closest to the named color Sanctum of Shadows. It belongs to the purple family of colors.
- What is the RGB value of #38273D?
- The RGB value is 56, 39, 61: 56 red, 39 green and 61 blue on a 0 to 255 scale.
- What is the complementary color of #38273D?
- The complementary color is #2C3D27, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #38273D?
- White text. Black text has a contrast ratio of 1.53:1 and white text 13.76:1. WCAG asks for at least 4.5:1 for normal text.