Dark Dreams color: hex code #332266
Dark Dreams has the hex code #332266. It is a dark, moderate violet.
In the RGB color model it is made of 20% red, 13.3% green and 40% blue (51, 34, 102).
Its hue angle is 255°, with 50% saturation and 27% lightness. For print, the CMYK equivalent is 50% cyan, 67% magenta, 0% yellow and 60% black.
White text is the more readable choice on this background (contrast 13.45:1).
Dark Dreams (#332266) color codes
| HEX | #332266 | |
|---|---|---|
| RGB | rgb(51, 34, 102) | |
| RGB percent | rgb(20%, 13.3%, 40%) | |
| HSL | hsl(255, 50%, 27%) | |
| HSV / HSB | hsv(255, 67%, 40%) | |
| CMYK | cmyk(50%, 67%, 0%, 60%) | |
| CIE LAB | lab(19.25, 26.69, -37.4) | |
| CIE LCH | lch(19.25, 45.94, 305.51) | |
| CIE XYZ | xyz(4.335, 2.807, 12.881) | |
| Decimal | 3351142 | |
| Short hex | #326 |
Color harmonies
Colors that go with Dark Dreams, 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 #332266 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.56:1 | Fail | Fail | Fail |
| Sample text | 13.45:1 | Pass | Pass | Pass |
| #332266 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.45:1 | Pass | Pass | Pass |
| Sample text | 1.56: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 #332266 looks to people with the most common types of color vision deficiency.
#003068Protanopia
no red cones#002d65Deuteranopia
no green cones#233240Tritanopia
no blue cones#2f2f2fAchromatopsia
no color vision
CSS examples
.background { background-color: #332266; }
.text { color: #332266; }
.border { border: 2px solid #332266; }
.transparent { background-color: rgb(51 34 102 / 50%); }
.gradient { background: linear-gradient(to right, #332266, #552266); }
Similar colors
#2e2364Indie Go#332277Deep Space Rodeo#222266Intergalactic Cowboy#3a1f76Explorer of the Galaxies#2d135fVoldemort#341758Fabric of Space#442266Fading Horizon#432e6fHer Highness
Closest common color name: Midnight Blue.
See #332266 on its hex code page
Questions
- What color is #332266?
- #332266 is a dark, moderate violet known as Dark Dreams. It belongs to the purple family of colors.
- What is the RGB value of Dark Dreams?
- The RGB value is 51, 34, 102: 51 red, 34 green and 102 blue on a 0 to 255 scale.
- What is the complementary color of Dark Dreams?
- The complementary color is #556622, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #332266?
- White text. Black text has a contrast ratio of 1.56:1 and white text 13.45:1. WCAG asks for at least 4.5:1 for normal text.