#6400CC color
The hex color #6400CC is a vivid violet.
In the RGB color model it is made of 39.2% red, 0% green and 80% blue (100, 0, 204).
Its hue angle is 269°, with 100% saturation and 40% lightness. For print, the CMYK equivalent is 51% cyan, 100% magenta, 0% yellow and 20% black.
The closest named color is Sea Serpent’s Tears (#5511CC), a difference of 2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.7:1).
#6400CC color codes
| HEX | #6400CC | |
|---|---|---|
| RGB | rgb(100, 0, 204) | |
| RGB percent | rgb(39.2%, 0%, 80%) | |
| HSL | hsl(269, 100%, 40%) | |
| HSV / HSB | hsv(269, 100%, 80%) | |
| CMYK | cmyk(51%, 100%, 0%, 20%) | |
| CIE LAB | lab(31.96, 70.21, -79.09) | |
| CIE LCH | lch(31.96, 105.76, 311.6) | |
| CIE XYZ | xyz(16.152, 7.068, 57.628) | |
| Decimal | 6553804 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #6400CC, 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 #6400CC | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.41:1 | Fail | Fail | Fail |
| Sample text | 8.7:1 | Pass | Pass | Pass |
| #6400CC as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.7:1 | Pass | Pass | Pass |
| Sample text | 2.41: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 #6400CC looks to people with the most common types of color vision deficiency.
#004dd1Protanopia
no red cones#0048c9Deuteranopia
no green cones#404f77Tritanopia
no blue cones#4b4b4bAchromatopsia
no color vision
CSS examples
.background { background-color: #6400cc; }
.text { color: #6400cc; }
.border { border: 2px solid #6400cc; }
.transparent { background-color: rgb(100 0 204 / 50%); }
.gradient { background: linear-gradient(to right, #6400cc, #ca00cc); }
Similar colors
#5511ccSea Serpent’s Tears#5511ddSpace Opera#7711ddVoluptuous Violet#3300ccBusty Blue#8601bfViolet Poison#3311bbGalactic Highway#150aecBurning Ultrablue#6600ffElectric Indigo
Closest common color name: Grape.
Questions
- What color is #6400CC?
- #6400CC is a vivid violet, closest to the named color Sea Serpent’s Tears. It belongs to the purple family of colors.
- What is the RGB value of #6400CC?
- The RGB value is 100, 0, 204: 100 red, 0 green and 204 blue on a 0 to 255 scale.
- What is the complementary color of #6400CC?
- The complementary color is #68CC00, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #6400CC?
- White text. Black text has a contrast ratio of 2.41:1 and white text 8.7:1. WCAG asks for at least 4.5:1 for normal text.