#604170 color
The hex color #604170 is a dark, desaturated violet.
In the RGB color model it is made of 37.6% red, 25.5% green and 43.9% blue (96, 65, 112).
Its hue angle is 280°, with 27% saturation and 35% lightness. For print, the CMYK equivalent is 14% cyan, 42% magenta, 0% yellow and 56% black.
The closest named color is Heartless (#623B70), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.44:1).
#604170 color codes
| HEX | #604170 | |
|---|---|---|
| RGB | rgb(96, 65, 112) | |
| RGB percent | rgb(37.6%, 25.5%, 43.9%) | |
| HSL | hsl(280, 27%, 35%) | |
| HSV / HSB | hsv(280, 42%, 44%) | |
| CMYK | cmyk(14%, 42%, 0%, 56%) | |
| CIE LAB | lab(32.78, 22.89, -21.99) | |
| CIE LCH | lch(32.78, 31.74, 316.15) | |
| CIE XYZ | xyz(9.638, 7.437, 16.254) | |
| Decimal | 6308208 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #604170, 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 #604170 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.49:1 | Fail | Fail | Fail |
| Sample text | 8.44:1 | Pass | Pass | Pass |
| #604170 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.44:1 | Pass | Pass | Pass |
| Sample text | 2.49: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 #604170 looks to people with the most common types of color vision deficiency.
#394b72Protanopia
no red cones#404e6fDeuteranopia
no green cones#5f4853Tritanopia
no blue cones#4d4d4dAchromatopsia
no color vision
CSS examples
.background { background-color: #604170; }
.text { color: #604170; }
.border { border: 2px solid #604170; }
.transparent { background-color: rgb(96 65 112 / 50%); }
.gradient { background: linear-gradient(to right, #604170, #704168); }
Similar colors
#623b70Heartless#674876Neon Violet#673e6eMajesty#5b4276Drifting Violet#614a7bRoyal Robe#61496eYour Majesty#5c457bIn the Vines#57446aHaunted Candelabra
Closest common color name: Byzantium.
Questions
- What color is #604170?
- #604170 is a dark, desaturated violet, closest to the named color Heartless. It belongs to the purple family of colors.
- What is the RGB value of #604170?
- The RGB value is 96, 65, 112: 96 red, 65 green and 112 blue on a 0 to 255 scale.
- What is the complementary color of #604170?
- The complementary color is #517041, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #604170?
- White text. Black text has a contrast ratio of 2.49:1 and white text 8.44:1. WCAG asks for at least 4.5:1 for normal text.