#240A22 color
The hex color #240A22 is a very dark, moderate magenta.
In the RGB color model it is made of 14.1% red, 3.9% green and 13.3% blue (36, 10, 34).
Its hue angle is 305°, with 57% saturation and 9% lightness. For print, the CMYK equivalent is 0% cyan, 72% magenta, 6% yellow and 86% black.
The closest named color is Black Sabbath (#220022), a difference of 2.9 ΔE, a small difference.
White text is the more readable choice on this background (contrast 18.4:1).
#240A22 color codes
| HEX | #240A22 | |
|---|---|---|
| RGB | rgb(36, 10, 34) | |
| RGB percent | rgb(14.1%, 3.9%, 13.3%) | |
| HSL | hsl(305, 57%, 9%) | |
| HSV / HSB | hsv(305, 72%, 14%) | |
| CMYK | cmyk(0%, 72%, 6%, 86%) | |
| CIE LAB | lab(6.39, 17.42, -10.28) | |
| CIE LCH | lch(6.39, 20.23, 329.45) | |
| CIE XYZ | xyz(1.125, 0.708, 1.59) | |
| Decimal | 2361890 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #240A22, 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 #240A22 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.14:1 | Fail | Fail | Fail |
| Sample text | 18.4:1 | Pass | Pass | Pass |
| #240A22 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.4:1 | Pass | Pass | Pass |
| Sample text | 1.14: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 #240A22 looks to people with the most common types of color vision deficiency.
#091223Protanopia
no red cones#111521Deuteranopia
no green cones#260c14Tritanopia
no blue cones#141414Achromatopsia
no color vision
CSS examples
.background { background-color: #240a22; }
.text { color: #240a22; }
.border { border: 2px solid #240a22; }
.transparent { background-color: rgb(36 10 34 / 50%); }
.gradient { background: linear-gradient(to right, #240a22, #240a15); }
Similar colors
#220022Black Sabbath#2b0f2eDark Prom Queen#301934Dark Purple#1d0d1dShot in the Dark#391531Nightly Voyager#220011Belladonna#330022Vienna Roast#2c1620Black Cherry
Questions
- What color is #240A22?
- #240A22 is a very dark, moderate magenta, closest to the named color Black Sabbath. It belongs to the black family of colors.
- What is the RGB value of #240A22?
- The RGB value is 36, 10, 34: 36 red, 10 green and 34 blue on a 0 to 255 scale.
- What is the complementary color of #240A22?
- The complementary color is #0A240C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #240A22?
- White text. Black text has a contrast ratio of 1.14:1 and white text 18.4:1. WCAG asks for at least 4.5:1 for normal text.