#270528 color
The hex color #270528 is a very dark, moderate magenta.
In the RGB color model it is made of 15.3% red, 2% green and 15.7% blue (39, 5, 40).
Its hue angle is 298°, with 78% saturation and 9% lightness. For print, the CMYK equivalent is 2% cyan, 87% magenta, 0% yellow and 84% black.
The closest named color is Black Sabbath (#220022), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 18.44:1).
#270528 color codes
| HEX | #270528 | |
|---|---|---|
| RGB | rgb(39, 5, 40) | |
| RGB percent | rgb(15.3%, 2%, 15.7%) | |
| HSL | hsl(298, 78%, 9%) | |
| HSV / HSB | hsv(298, 88%, 16%) | |
| CMYK | cmyk(2%, 87%, 0%, 84%) | |
| CIE LAB | lab(6.26, 22.82, -15.03) | |
| CIE LCH | lch(6.26, 27.32, 326.63) | |
| CIE XYZ | xyz(1.274, 0.693, 2.074) | |
| Decimal | 2557224 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #270528, 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 #270528 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.14:1 | Fail | Fail | Fail |
| Sample text | 18.44:1 | Pass | Pass | Pass |
| #270528 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.44: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 #270528 looks to people with the most common types of color vision deficiency.
#011129Protanopia
no red cones#0d1527Deuteranopia
no green cones#280a15Tritanopia
no blue cones#141414Achromatopsia
no color vision
CSS examples
.background { background-color: #270528; }
.text { color: #270528; }
.border { border: 2px solid #270528; }
.transparent { background-color: rgb(39 5 40 / 50%); }
.gradient { background: linear-gradient(to right, #270528, #280518); }
Similar colors
#220022Black Sabbath#2b0f2eDark Prom Queen#220033Coal Mine#391531Nightly Voyager#301934Dark Purple#330022Vienna Roast#3b193fCreatures of the Night#1c0f33Midnight Monarch
Questions
- What color is #270528?
- #270528 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 #270528?
- The RGB value is 39, 5, 40: 39 red, 5 green and 40 blue on a 0 to 255 scale.
- What is the complementary color of #270528?
- The complementary color is #062805, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #270528?
- White text. Black text has a contrast ratio of 1.14:1 and white text 18.44:1. WCAG asks for at least 4.5:1 for normal text.