#270A23 color
The hex color #270A23 is a very dark, moderate magenta.
In the RGB color model it is made of 15.3% red, 3.9% green and 13.7% blue (39, 10, 35).
Its hue angle is 308°, with 59% saturation and 10% lightness. For print, the CMYK equivalent is 0% cyan, 74% magenta, 10% yellow and 85% black.
The closest named color is Black Sabbath (#220022), a difference of 2.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 18.2:1).
#270A23 color codes
| HEX | #270A23 | |
|---|---|---|
| RGB | rgb(39, 10, 35) | |
| RGB percent | rgb(15.3%, 3.9%, 13.7%) | |
| HSL | hsl(308, 59%, 10%) | |
| HSV / HSB | hsv(308, 74%, 15%) | |
| CMYK | cmyk(0%, 74%, 10%, 85%) | |
| CIE LAB | lab(6.95, 19.04, -10.14) | |
| CIE LCH | lch(6.95, 21.57, 331.96) | |
| CIE XYZ | xyz(1.249, 0.77, 1.673) | |
| Decimal | 2558499 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #270A23, 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 #270A23 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.15:1 | Fail | Fail | Fail |
| Sample text | 18.2:1 | Pass | Pass | Pass |
| #270A23 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.2:1 | Pass | Pass | Pass |
| Sample text | 1.15: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 #270A23 looks to people with the most common types of color vision deficiency.
#091324Protanopia
no red cones#121722Deuteranopia
no green cones#290c15Tritanopia
no blue cones#151515Achromatopsia
no color vision
CSS examples
.background { background-color: #270a23; }
.text { color: #270a23; }
.border { border: 2px solid #270a23; }
.transparent { background-color: rgb(39 10 35 / 50%); }
.gradient { background: linear-gradient(to right, #270a23, #270a14); }
Similar colors
#220022Black Sabbath#2b0f2eDark Prom Queen#391531Nightly Voyager#301934Dark Purple#330022Vienna Roast#220011Belladonna#1d0d1dShot in the Dark#2c1620Black Cherry
Questions
- What color is #270A23?
- #270A23 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 #270A23?
- The RGB value is 39, 10, 35: 39 red, 10 green and 35 blue on a 0 to 255 scale.
- What is the complementary color of #270A23?
- The complementary color is #0A270E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #270A23?
- White text. Black text has a contrast ratio of 1.15:1 and white text 18.2:1. WCAG asks for at least 4.5:1 for normal text.