#6C5284 color
The hex color #6C5284 is a grayish violet.
In the RGB color model it is made of 42.4% red, 32.2% green and 51.8% blue (108, 82, 132).
Its hue angle is 271°, with 23% saturation and 42% lightness. For print, the CMYK equivalent is 18% cyan, 38% magenta, 0% yellow and 48% black.
The closest named color is Ninja Princess (#75528B), a difference of 2.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 6.61:1).
#6C5284 color codes
| HEX | #6C5284 | |
|---|---|---|
| RGB | rgb(108, 82, 132) | |
| RGB percent | rgb(42.4%, 32.2%, 51.8%) | |
| HSL | hsl(271, 23%, 42%) | |
| HSV / HSB | hsv(271, 38%, 52%) | |
| CMYK | cmyk(18%, 38%, 0%, 48%) | |
| CIE LAB | lab(39.39, 21.25, -23.99) | |
| CIE LCH | lch(39.39, 32.05, 311.53) | |
| CIE XYZ | xyz(13.366, 10.889, 23.223) | |
| Decimal | 7099012 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #6C5284, 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 #6C5284 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.18:1 | Fail | Fail | Pass |
| Sample text | 6.61:1 | Pass | Fail | Pass |
| #6C5284 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.61:1 | Pass | Fail | Pass |
| Sample text | 3.18:1 | Fail | Fail | Pass |
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 #6C5284 looks to people with the most common types of color vision deficiency.
#485c86Protanopia
no red cones#4d5d83Deuteranopia
no green cones#695965Tritanopia
no blue cones#5d5d5dAchromatopsia
no color vision
CSS examples
.background { background-color: #6c5284; }
.text { color: #6c5284; }
.border { border: 2px solid #6c5284; }
.transparent { background-color: rgb(108 82 132 / 50%); }
.gradient { background: linear-gradient(to right, #6c5284, #845283); }
Similar colors
#75528bNinja Princess#614a7bRoyal Robe#604c81Sumptuous Purple#655883Berry Jam#674876Neon Violet#714a8bGrapes of Italy#5c5083Freshly Purpleized#6f5698Passion Flower
Closest common color name: Royal Purple.
Questions
- What color is #6C5284?
- #6C5284 is a grayish violet, closest to the named color Ninja Princess. It belongs to the purple family of colors.
- What is the RGB value of #6C5284?
- The RGB value is 108, 82, 132: 108 red, 82 green and 132 blue on a 0 to 255 scale.
- What is the complementary color of #6C5284?
- The complementary color is #6A8452, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #6C5284?
- White text. Black text has a contrast ratio of 3.18:1 and white text 6.61:1. WCAG asks for at least 4.5:1 for normal text.