#340655 color
The hex color #340655 is a very dark, vivid violet.
In the RGB color model it is made of 20.4% red, 2.4% green and 33.3% blue (52, 6, 85).
Its hue angle is 275°, with 87% saturation and 18% lightness. For print, the CMYK equivalent is 39% cyan, 93% magenta, 0% yellow and 67% black.
The closest named color is Hollow Knight (#330055), a difference of 1.1 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 16.11:1).
#340655 color codes
| HEX | #340655 | |
|---|---|---|
| RGB | rgb(52, 6, 85) | |
| RGB percent | rgb(20.4%, 2.4%, 33.3%) | |
| HSL | hsl(275, 87%, 18%) | |
| HSV / HSB | hsv(275, 93%, 33%) | |
| CMYK | cmyk(39%, 93%, 0%, 67%) | |
| CIE LAB | lab(12.71, 36.35, -36.71) | |
| CIE LCH | lch(12.71, 51.66, 314.72) | |
| CIE XYZ | xyz(3.121, 1.516, 8.721) | |
| Decimal | 3409493 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #340655, 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 #340655 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.3:1 | Fail | Fail | Fail |
| Sample text | 16.11:1 | Pass | Pass | Pass |
| #340655 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.11:1 | Pass | Pass | Pass |
| Sample text | 1.3: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 #340655 looks to people with the most common types of color vision deficiency.
#002057Protanopia
no red cones#002154Deuteranopia
no green cones#2d1d30Tritanopia
no blue cones#212121Achromatopsia
no color vision
CSS examples
.background { background-color: #340655; }
.text { color: #340655; }
.border { border: 2px solid #340655; }
.transparent { background-color: rgb(52 6 85 / 50%); }
.gradient { background: linear-gradient(to right, #340655, #55064e); }
Similar colors
#330055Hollow Knight#340059Cotinga Purple#37115cWicked Purple#341758Fabric of Space#2d135fVoldemort#2f1064Infinite Inkwell#220044Your Darkness#480656Clairvoyant
Closest common color name: Indigo.
Questions
- What color is #340655?
- #340655 is a very dark, vivid violet, closest to the named color Hollow Knight. It belongs to the purple family of colors.
- What is the RGB value of #340655?
- The RGB value is 52, 6, 85: 52 red, 6 green and 85 blue on a 0 to 255 scale.
- What is the complementary color of #340655?
- The complementary color is #275506, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #340655?
- White text. Black text has a contrast ratio of 1.3:1 and white text 16.11:1. WCAG asks for at least 4.5:1 for normal text.