#231C27 color
The hex color #231C27 is a very dark, grayish violet.
In the RGB color model it is made of 13.7% red, 11% green and 15.3% blue (35, 28, 39).
Its hue angle is 278°, with 16% saturation and 13% lightness. For print, the CMYK equivalent is 10% cyan, 28% magenta, 0% yellow and 85% black.
The closest named color is Violet Void (#1A161D), a difference of 3.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.58:1).
#231C27 color codes
| HEX | #231C27 | |
|---|---|---|
| RGB | rgb(35, 28, 39) | |
| RGB percent | rgb(13.7%, 11%, 15.3%) | |
| HSL | hsl(278, 16%, 13%) | |
| HSV / HSB | hsv(278, 28%, 15%) | |
| CMYK | cmyk(10%, 28%, 0%, 85%) | |
| CIE LAB | lab(11.51, 6.11, -6.19) | |
| CIE LCH | lch(11.51, 8.7, 314.63) | |
| CIE XYZ | xyz(1.475, 1.334, 2.099) | |
| Decimal | 2300967 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #231C27, 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 #231C27 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.27:1 | Fail | Fail | Fail |
| Sample text | 16.58:1 | Pass | Pass | Pass |
| #231C27 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.58: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 #231C27 looks to people with the most common types of color vision deficiency.
#1a1e27Protanopia
no red cones#1c1f27Deuteranopia
no green cones#231d20Tritanopia
no blue cones#1f1f1fAchromatopsia
no color vision
CSS examples
.background { background-color: #231c27; }
.text { color: #231c27; }
.border { border: 2px solid #231c27; }
.transparent { background-color: rgb(35 28 39 / 50%); }
.gradient { background: linear-gradient(to right, #231c27, #271c25); }
Similar colors
#1a161dViolet Void#201b20Night Demons#252024Ink Black#16141cBack in Black#222233Black Velvet#2c2a35Haiti#342931Melanzane#1f1518Bats Cloak
Closest common color name: Licorice.
Questions
- What color is #231C27?
- #231C27 is a very dark, grayish violet, closest to the named color Violet Void. It belongs to the black family of colors.
- What is the RGB value of #231C27?
- The RGB value is 35, 28, 39: 35 red, 28 green and 39 blue on a 0 to 255 scale.
- What is the complementary color of #231C27?
- The complementary color is #20271C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #231C27?
- White text. Black text has a contrast ratio of 1.27:1 and white text 16.58:1. WCAG asks for at least 4.5:1 for normal text.