#24142D color
The hex color #24142D is a very dark, desaturated violet.
In the RGB color model it is made of 14.1% red, 7.8% green and 17.6% blue (36, 20, 45).
Its hue angle is 278°, with 38% saturation and 13% lightness. For print, the CMYK equivalent is 20% cyan, 56% magenta, 0% yellow and 82% black.
The closest named color is Dark Purple (#301934), a difference of 3.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.31:1).
#24142D color codes
| HEX | #24142D | |
|---|---|---|
| RGB | rgb(36, 20, 45) | |
| RGB percent | rgb(14.1%, 7.8%, 17.6%) | |
| HSL | hsl(278, 38%, 13%) | |
| HSV / HSB | hsv(278, 56%, 18%) | |
| CMYK | cmyk(20%, 56%, 0%, 82%) | |
| CIE LAB | lab(9.52, 14.04, -13.67) | |
| CIE LCH | lch(9.52, 19.6, 315.76) | |
| CIE XYZ | xyz(1.451, 1.065, 2.611) | |
| Decimal | 2364461 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #24142D, 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 #24142D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.21:1 | Fail | Fail | Fail |
| Sample text | 17.31:1 | Pass | Pass | Pass |
| #24142D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.31:1 | Pass | Pass | Pass |
| Sample text | 1.21: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 #24142D looks to people with the most common types of color vision deficiency.
#0f1a2eProtanopia
no red cones#131b2cDeuteranopia
no green cones#23181eTritanopia
no blue cones#1b1b1bAchromatopsia
no color vision
CSS examples
.background { background-color: #24142d; }
.text { color: #24142d; }
.border { border: 2px solid #24142d; }
.transparent { background-color: rgb(36 20 45 / 50%); }
.gradient { background: linear-gradient(to right, #24142d, #2d142a); }
Similar colors
#301934Dark Purple#2b0f2eDark Prom Queen#1c0f33Midnight Monarch#1d0d1dShot in the Dark#220022Black Sabbath#2a2243Midnight Velvet#391531Nightly Voyager#3b193fCreatures of the Night
Questions
- What color is #24142D?
- #24142D is a very dark, desaturated violet, closest to the named color Dark Purple. It belongs to the black family of colors.
- What is the RGB value of #24142D?
- The RGB value is 36, 20, 45: 36 red, 20 green and 45 blue on a 0 to 255 scale.
- What is the complementary color of #24142D?
- The complementary color is #1D2D14, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #24142D?
- White text. Black text has a contrast ratio of 1.21:1 and white text 17.31:1. WCAG asks for at least 4.5:1 for normal text.