#6A638B color
The hex color #6A638B is a grayish violet.
In the RGB color model it is made of 41.6% red, 38.8% green and 54.5% blue (106, 99, 139).
Its hue angle is 251°, with 17% saturation and 47% lightness. For print, the CMYK equivalent is 24% cyan, 29% magenta, 0% yellow and 45% black.
The closest named color is Heron (#6A6887), a difference of 3.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 5.57:1).
#6A638B color codes
| HEX | #6A638B | |
|---|---|---|
| RGB | rgb(106, 99, 139) | |
| RGB percent | rgb(41.6%, 38.8%, 54.5%) | |
| HSL | hsl(251, 17%, 47%) | |
| HSV / HSB | hsv(251, 29%, 55%) | |
| CMYK | cmyk(24%, 29%, 0%, 45%) | |
| CIE LAB | lab(44.02, 11.88, -21.07) | |
| CIE LCH | lch(44.02, 24.2, 299.42) | |
| CIE XYZ | xyz(15.065, 13.852, 26.301) | |
| Decimal | 6972299 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #6A638B, 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 #6A638B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.77:1 | Fail | Fail | Pass |
| Sample text | 5.57:1 | Pass | Fail | Pass |
| #6A638B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.57:1 | Pass | Fail | Pass |
| Sample text | 3.77: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 #6A638B looks to people with the most common types of color vision deficiency.
#59698dProtanopia
no red cones#5a678aDeuteranopia
no green cones#636a71Tritanopia
no blue cones#686868Achromatopsia
no color vision
CSS examples
.background { background-color: #6a638b; }
.text { color: #6a638b; }
.border { border: 2px solid #6a638b; }
.transparent { background-color: rgb(106 99 139 / 50%); }
.gradient { background: linear-gradient(to right, #6a638b, #7e638b); }
Similar colors
#6a6887Heron#746c8fBureaucracy#655883Berry Jam#6b6c89Dark Prince#6f63a0Scampi#7b6c8eNymph’s Delight#5d6098Wizard’s Potion#675a75Plummy
Closest common color name: Royal Purple.
Questions
- What color is #6A638B?
- #6A638B is a grayish violet, closest to the named color Heron. It belongs to the blue family of colors.
- What is the RGB value of #6A638B?
- The RGB value is 106, 99, 139: 106 red, 99 green and 139 blue on a 0 to 255 scale.
- What is the complementary color of #6A638B?
- The complementary color is #848B63, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #6A638B?
- White text. Black text has a contrast ratio of 3.77:1 and white text 5.57:1. WCAG asks for at least 4.5:1 for normal text.