#330066 color
The hex color #330066 is a dark, vivid violet.
In the RGB color model it is made of 20% red, 0% green and 40% blue (51, 0, 102).
Its hue angle is 270°, with 100% saturation and 20% lightness. For print, the CMYK equivalent is 50% cyan, 100% magenta, 0% yellow and 60% black.
The closest named color is Cotinga Purple (#340059), a difference of 2.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 15.76:1).
#330066 color codes
| HEX | #330066 | |
|---|---|---|
| RGB | rgb(51, 0, 102) | |
| RGB percent | rgb(20%, 0%, 40%) | |
| HSL | hsl(270, 100%, 20%) | |
| HSV / HSB | hsv(270, 100%, 40%) | |
| CMYK | cmyk(50%, 100%, 0%, 60%) | |
| CIE LAB | lab(13.61, 42.79, -46.64) | |
| CIE LCH | lch(13.61, 63.3, 312.53) | |
| CIE XYZ | xyz(3.763, 1.663, 12.691) | |
| Decimal | 3342438 | |
| Short hex | #306 |
Color harmonies
Colors that go with #330066, 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 #330066 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.33:1 | Fail | Fail | Fail |
| Sample text | 15.76:1 | Pass | Pass | Pass |
| #330066 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.76:1 | Pass | Pass | Pass |
| Sample text | 1.33: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 #330066 looks to people with the most common types of color vision deficiency.
#002368Protanopia
no red cones#002164Deuteranopia
no green cones#242339Tritanopia
no blue cones#232323Achromatopsia
no color vision
CSS examples
.background { background-color: #330066; }
.text { color: #330066; }
.border { border: 2px solid #330066; }
.transparent { background-color: rgb(51 0 102 / 50%); }
.gradient { background: linear-gradient(to right, #330066, #660066); }
Similar colors
#340059Cotinga Purple#220066Blackmail#2f1064Infinite Inkwell#330077Galactic Federation#330055Hollow Knight#37115cWicked Purple#2d135fVoldemort#220077Child of the Night
Closest common color name: Indigo.
Questions
- What color is #330066?
- #330066 is a dark, vivid violet, closest to the named color Cotinga Purple. It belongs to the purple family of colors.
- What is the RGB value of #330066?
- The RGB value is 51, 0, 102: 51 red, 0 green and 102 blue on a 0 to 255 scale.
- What is the complementary color of #330066?
- The complementary color is #336600, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #330066?
- White text. Black text has a contrast ratio of 1.33:1 and white text 15.76:1. WCAG asks for at least 4.5:1 for normal text.