#231438 color
The hex color #231438 is a very dark, desaturated violet.
In the RGB color model it is made of 13.7% red, 7.8% green and 22% blue (35, 20, 56).
Its hue angle is 265°, with 47% saturation and 15% lightness. For print, the CMYK equivalent is 38% cyan, 64% magenta, 0% yellow and 78% black.
The closest named color is Midnight Monarch (#1C0F33), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 17.09:1).
#231438 color codes
| HEX | #231438 | |
|---|---|---|
| RGB | rgb(35, 20, 56) | |
| RGB percent | rgb(13.7%, 7.8%, 22%) | |
| HSL | hsl(265, 47%, 15%) | |
| HSV / HSB | hsv(265, 64%, 22%) | |
| CMYK | cmyk(38%, 64%, 0%, 78%) | |
| CIE LAB | lab(10.13, 17.01, -20.73) | |
| CIE LCH | lch(10.13, 26.81, 309.38) | |
| CIE XYZ | xyz(1.657, 1.143, 3.874) | |
| Decimal | 2298936 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #231438, 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 #231438 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.23:1 | Fail | Fail | Fail |
| Sample text | 17.09:1 | Pass | Pass | Pass |
| #231438 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.09:1 | Pass | Pass | Pass |
| Sample text | 1.23: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 #231438 looks to people with the most common types of color vision deficiency.
#061c39Protanopia
no red cones#0a1c37Deuteranopia
no green cones#1f1b23Tritanopia
no blue cones#1c1c1cAchromatopsia
no color vision
CSS examples
.background { background-color: #231438; }
.text { color: #231438; }
.border { border: 2px solid #231438; }
.transparent { background-color: rgb(35 20 56 / 50%); }
.gradient { background: linear-gradient(to right, #231438, #351438); }
Similar colors
#1c0f33Midnight Monarch#2a2243Midnight Velvet#160435Quiet Abyss#211d49Azulado#2b0f2eDark Prom Queen#301934Dark Purple#231c4dSilent Orbit#220033Coal Mine
Questions
- What color is #231438?
- #231438 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 #231438?
- The RGB value is 35, 20, 56: 35 red, 20 green and 56 blue on a 0 to 255 scale.
- What is the complementary color of #231438?
- The complementary color is #293814, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #231438?
- White text. Black text has a contrast ratio of 1.23:1 and white text 17.09:1. WCAG asks for at least 4.5:1 for normal text.