#270145 color
The hex color #270145 is a very dark, vivid violet.
In the RGB color model it is made of 15.3% red, 0.4% green and 27.1% blue (39, 1, 69).
Its hue angle is 274°, with 97% saturation and 14% lightness. For print, the CMYK equivalent is 43% cyan, 99% magenta, 0% yellow and 73% black.
The closest named color is Your Darkness (#220044), a difference of 1 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 17.85:1).
#270145 color codes
| HEX | #270145 | |
|---|---|---|
| RGB | rgb(39, 1, 69) | |
| RGB percent | rgb(15.3%, 0.4%, 27.1%) | |
| HSL | hsl(274, 97%, 14%) | |
| HSV / HSB | hsv(274, 99%, 27%) | |
| CMYK | cmyk(43%, 99%, 0%, 73%) | |
| CIE LAB | lab(7.97, 32.87, -33.48) | |
| CIE LCH | lch(7.97, 46.92, 314.48) | |
| CIE XYZ | xyz(1.921, 0.883, 5.698) | |
| Decimal | 2556229 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #270145, 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 #270145 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.18:1 | Fail | Fail | Fail |
| Sample text | 17.85:1 | Pass | Pass | Pass |
| #270145 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.85:1 | Pass | Pass | Pass |
| Sample text | 1.18: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 #270145 looks to people with the most common types of color vision deficiency.
#001747Protanopia
no red cones#001744Deuteranopia
no green cones#201525Tritanopia
no blue cones#171717Achromatopsia
no color vision
CSS examples
.background { background-color: #270145; }
.text { color: #270145; }
.border { border: 2px solid #270145; }
.transparent { background-color: rgb(39 1 69 / 50%); }
.gradient { background: linear-gradient(to right, #270145, #450141); }
Similar colors
#220044Your Darkness#330055Hollow Knight#340059Cotinga Purple#220033Coal Mine#3b0346Romanic Scene#37115cWicked Purple#341758Fabric of Space#0f084bSilent Twilight
Closest common color name: Midnight Blue.
Questions
- What color is #270145?
- #270145 is a very dark, vivid violet, closest to the named color Your Darkness. It belongs to the black family of colors.
- What is the RGB value of #270145?
- The RGB value is 39, 1, 69: 39 red, 1 green and 69 blue on a 0 to 255 scale.
- What is the complementary color of #270145?
- The complementary color is #1F4501, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #270145?
- White text. Black text has a contrast ratio of 1.18:1 and white text 17.85:1. WCAG asks for at least 4.5:1 for normal text.