#271264 color
The hex color #271264 is a dark, moderate violet.
In the RGB color model it is made of 15.3% red, 7.1% green and 39.2% blue (39, 18, 100).
Its hue angle is 255°, with 69% saturation and 23% lightness. For print, the CMYK equivalent is 61% cyan, 82% magenta, 0% yellow and 61% black.
The closest named color is Infinite Inkwell (#2F1064), a difference of 1.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 15.48:1).
#271264 color codes
| HEX | #271264 | |
|---|---|---|
| RGB | rgb(39, 18, 100) | |
| RGB percent | rgb(15.3%, 7.1%, 39.2%) | |
| HSL | hsl(255, 69%, 23%) | |
| HSV / HSB | hsv(255, 82%, 39%) | |
| CMYK | cmyk(61%, 82%, 0%, 61%) | |
| CIE LAB | lab(14.31, 33.33, -44.22) | |
| CIE LCH | lch(14.31, 55.38, 307.01) | |
| CIE XYZ | xyz(3.353, 1.784, 12.222) | |
| Decimal | 2560612 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #271264, 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 #271264 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.36:1 | Fail | Fail | Fail |
| Sample text | 15.48:1 | Pass | Pass | Pass |
| #271264 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.48:1 | Pass | Pass | Pass |
| Sample text | 1.36: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 #271264 looks to people with the most common types of color vision deficiency.
#002666Protanopia
no red cones#002263Deuteranopia
no green cones#072a3aTritanopia
no blue cones#242424Achromatopsia
no color vision
CSS examples
.background { background-color: #271264; }
.text { color: #271264; }
.border { border: 2px solid #271264; }
.transparent { background-color: rgb(39 18 100 / 50%); }
.gradient { background: linear-gradient(to right, #271264, #501264); }
Similar colors
#2f1064Infinite Inkwell#2d135fVoldemort#150f5bSpace Colonisation#111166Dying Storm Blue#220066Blackmail#191970Midnight Blue#19197020000 Leagues Under the Sea#37115cWicked Purple
Questions
- What color is #271264?
- #271264 is a dark, moderate violet, closest to the named color Infinite Inkwell. It belongs to the purple family of colors.
- What is the RGB value of #271264?
- The RGB value is 39, 18, 100: 39 red, 18 green and 100 blue on a 0 to 255 scale.
- What is the complementary color of #271264?
- The complementary color is #4F6412, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #271264?
- White text. Black text has a contrast ratio of 1.36:1 and white text 15.48:1. WCAG asks for at least 4.5:1 for normal text.