#270058 color
The hex color #270058 is a very dark, vivid violet.
In the RGB color model it is made of 15.3% red, 0% green and 34.5% blue (39, 0, 88).
Its hue angle is 267°, with 100% saturation and 17% lightness. For print, the CMYK equivalent is 56% cyan, 100% magenta, 0% yellow and 65% black.
The closest named color is Cotinga Purple (#340059), a difference of 2.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.11:1).
#270058 color codes
| HEX | #270058 | |
|---|---|---|
| RGB | rgb(39, 0, 88) | |
| RGB percent | rgb(15.3%, 0%, 34.5%) | |
| HSL | hsl(267, 100%, 17%) | |
| HSV / HSB | hsv(267, 100%, 35%) | |
| CMYK | cmyk(56%, 100%, 0%, 65%) | |
| CIE LAB | lab(10.08, 38.22, -43.16) | |
| CIE LCH | lch(10.08, 57.65, 311.52) | |
| CIE XYZ | xyz(2.598, 1.136, 9.313) | |
| Decimal | 2555992 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #270058, 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 #270058 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.23:1 | Fail | Fail | Fail |
| Sample text | 17.11:1 | Pass | Pass | Pass |
| #270058 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.11:1 | Pass | Pass | Pass |
| Sample text | 1.23: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 #270058 looks to people with the most common types of color vision deficiency.
#001d5aProtanopia
no red cones#001a57Deuteranopia
no green cones#161e30Tritanopia
no blue cones#1c1c1cAchromatopsia
no color vision
CSS examples
.background { background-color: #270058; }
.text { color: #270058; }
.border { border: 2px solid #270058; }
.transparent { background-color: rgb(39 0 88 / 50%); }
.gradient { background: linear-gradient(to right, #270058, #530058); }
Similar colors
#340059Cotinga Purple#330055Hollow Knight#220066Blackmail#2f1064Infinite Inkwell#2d135fVoldemort#220044Your Darkness#110066The Vast of Night#0a0555Ravenclaw
Closest common color name: Midnight Blue.
Questions
- What color is #270058?
- #270058 is a very dark, vivid violet, closest to the named color Cotinga Purple. It belongs to the black family of colors.
- What is the RGB value of #270058?
- The RGB value is 39, 0, 88: 39 red, 0 green and 88 blue on a 0 to 255 scale.
- What is the complementary color of #270058?
- The complementary color is #315800, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #270058?
- White text. Black text has a contrast ratio of 1.23:1 and white text 17.11:1. WCAG asks for at least 4.5:1 for normal text.