#26173D color
The hex color #26173D is a very dark, desaturated violet.
In the RGB color model it is made of 14.9% red, 9% green and 23.9% blue (38, 23, 61).
Its hue angle is 264°, with 45% saturation and 16% lightness. For print, the CMYK equivalent is 38% cyan, 62% magenta, 0% yellow and 76% black.
The closest named color is Midnight Monarch (#1C0F33), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.5:1).
#26173D color codes
| HEX | #26173D | |
|---|---|---|
| RGB | rgb(38, 23, 61) | |
| RGB percent | rgb(14.9%, 9%, 23.9%) | |
| HSL | hsl(264, 45%, 16%) | |
| HSV / HSB | hsv(264, 62%, 24%) | |
| CMYK | cmyk(38%, 62%, 0%, 76%) | |
| CIE LAB | lab(11.7, 17.43, -21.77) | |
| CIE LCH | lch(11.7, 27.88, 308.68) | |
| CIE XYZ | xyz(1.948, 1.362, 4.574) | |
| Decimal | 2496317 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #26173D, 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 #26173D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.27:1 | Fail | Fail | Fail |
| Sample text | 16.5:1 | Pass | Pass | Pass |
| #26173D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.5:1 | Pass | Pass | Pass |
| Sample text | 1.27: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 #26173D looks to people with the most common types of color vision deficiency.
#081f3eProtanopia
no red cones#0d1f3cDeuteranopia
no green cones#211f27Tritanopia
no blue cones#1f1f1fAchromatopsia
no color vision
CSS examples
.background { background-color: #26173d; }
.text { color: #26173d; }
.border { border: 2px solid #26173d; }
.transparent { background-color: rgb(38 23 61 / 50%); }
.gradient { background: linear-gradient(to right, #26173d, #39173d); }
Similar colors
#1c0f33Midnight Monarch#2a2243Midnight Velvet#211d49Azulado#231c4dSilent Orbit#372354Stormy Night#160435Quiet Abyss#301934Dark Purple#222244Black Market
Questions
- What color is #26173D?
- #26173D is a very dark, desaturated violet, closest to the named color Midnight Monarch. It belongs to the black family of colors.
- What is the RGB value of #26173D?
- The RGB value is 38, 23, 61: 38 red, 23 green and 61 blue on a 0 to 255 scale.
- What is the complementary color of #26173D?
- The complementary color is #2E3D17, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #26173D?
- White text. Black text has a contrast ratio of 1.27:1 and white text 16.5:1. WCAG asks for at least 4.5:1 for normal text.