#232128 color
The hex color #232128 is a very dark, grayish violet.
In the RGB color model it is made of 13.7% red, 12.9% green and 15.7% blue (35, 33, 40).
Its hue angle is 257°, with 10% saturation and 14% lightness. For print, the CMYK equivalent is 13% cyan, 18% magenta, 0% yellow and 84% black.
The closest named color is Darth Vader (#27252A), a difference of 1.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 15.91:1).
#232128 color codes
| HEX | #232128 | |
|---|---|---|
| RGB | rgb(35, 33, 40) | |
| RGB percent | rgb(13.7%, 12.9%, 15.7%) | |
| HSL | hsl(257, 10%, 14%) | |
| HSV / HSB | hsv(257, 17%, 16%) | |
| CMYK | cmyk(13%, 18%, 0%, 84%) | |
| CIE LAB | lab(13.22, 2.73, -4.34) | |
| CIE LCH | lch(13.22, 5.13, 302.13) | |
| CIE XYZ | xyz(1.62, 1.598, 2.23) | |
| Decimal | 2302248 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #232128, 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 #232128 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.32:1 | Fail | Fail | Fail |
| Sample text | 15.91:1 | Pass | Pass | Pass |
| #232128 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.91:1 | Pass | Pass | Pass |
| Sample text | 1.32: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 #232128 looks to people with the most common types of color vision deficiency.
#202228Protanopia
no red cones#202228Deuteranopia
no green cones#222223Tritanopia
no blue cones#222222Achromatopsia
no color vision
CSS examples
.background { background-color: #232128; }
.text { color: #232128; }
.border { border: 2px solid #232128; }
.transparent { background-color: rgb(35 33 40 / 50%); }
.gradient { background: linear-gradient(to right, #232128, #262128); }
Similar colors
#27252aDarth Vader#252024Ink Black#201b20Night Demons#29292fJaguar#28282dAnthracite#1e1e21Inkwell Inception#1a161dViolet Void#2c2a35Haiti
Closest common color name: Licorice.
Questions
- What color is #232128?
- #232128 is a very dark, grayish violet, closest to the named color Darth Vader. It belongs to the black family of colors.
- What is the RGB value of #232128?
- The RGB value is 35, 33, 40: 35 red, 33 green and 40 blue on a 0 to 255 scale.
- What is the complementary color of #232128?
- The complementary color is #262821, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #232128?
- White text. Black text has a contrast ratio of 1.32:1 and white text 15.91:1. WCAG asks for at least 4.5:1 for normal text.