Color
#332880
Dark cool violet. Nearest reference color: Picotee blue.
RGB
0–255CMYK
0–100%RGB describes how #332880 is represented with light on digital screens. This color combines red 51, green 40 and blue 128.
CMYK describes the same color using the four components commonly used in printing: cyan 60.16%, magenta 68.75%, yellow 0% and black 49.8%.
HSL values
In the HSL color model, #332880 has a hue of 247.5°, 52.38% saturation and 32.94% lightness. The sliders below show where this color sits across each of these three dimensions.
Color insight
#332880 is a dark, cool violet with moderate chroma.
- Temperature
- Cool
- Lightness
- Dark
- Chroma
- Moderate
Color formats
Copy #332880 in a format ready to use in CSS, design tools or other applications.
#332880
rgb(51, 40, 128)
hsl(247.5 52.38% 32.94%)
oklch(0.348966 0.141505 281.8494)
--color: #332880;
Tints of #332880
Tints are lighter variations of #332880. They keep the character of the original color while moving progressively toward a lighter appearance.
Shades of #332880
Shades are darker variations of #332880. Moving toward black increases visual depth while preserving the underlying hue of the color.
Tones of #332880
Tones reduce the chroma of #332880, producing quieter and more muted variations without simply making the color lighter or darker.
Tonal range of #332880
A continuous light-to-dark scale places #332880 between its lighter tints and deeper shades.
CSS color scale
Use this tonal range as reusable CSS custom properties.
:root {
--color-100: #EBEDFF;
--color-200: #B3B6FF;
--color-300: #8282E2;
--color-400: #5855B0;
--color-500: #332880;
--color-600: #27166E;
--color-700: #1B005C;
--color-800: #0F003D;
--color-900: #050020;
}
Colors that go with #332880
Color harmonies for #332880 are generated by rotating its hue in the OKLCH color space while preserving its lightness and chroma. This creates classic complementary, analogous, triadic and other hue relationships with more consistent perceptual balance.
Complementary
Opposite on the color wheel, creating the strongest direct hue contrast.
Triadic
Three evenly spaced hues that create a broader, balanced color relationship.
Split complementary
Two hues around the complementary color, providing contrast with more variation.
CSS gradients with #332880
These gradients show how #332880 moves toward white, black and its complementary color. Each gradient includes ready-to-use CSS that can be copied directly into a project.
Toward white
A light gradient that moves from the original color toward white.
background: linear-gradient(90deg, #332880, #5D5EA1, #8F92C2, #C5C7E1, #FFFFFF);
Toward black
A dark gradient that moves from the original color toward black.
background: linear-gradient(90deg, #332880, #1F1855, #0D092E, #02010B, #000000);
Text contrast and accessibility
Contrast determines how clearly text can be distinguished from #332880. The values below compare white and black text using WCAG contrast ratios.
Recommended text color: #FFFFFF . Relative luminance: 0.0378 .
Accessible CSS
Use the recommended text color with #332880 as the background.
background-color: #332880;
color: #FFFFFF;
Using #332880 in design
See how #332880 works in a simple interface. The examples below use the color as a background, accent and interface element, with text chosen from its accessibility result.
#332880 used as a full background with its recommended text color.
Use #332880 to emphasize selected interface elements without filling the entire surface.
Colors similar to #332880
These nearby colors are generated from perceptual variations of #332880, including changes in lightness, chroma and hue.
Color vision simulation
The simulations below show mathematical approximations of how #332880 may shift under three forms of color vision deficiency. They are simulations, not a diagnosis or an exact representation of any individual person's vision.
Simulation based on the model by Machado, Oliveira and Fernandes (2009), published in IEEE Transactions on Visualization and Computer Graphics. DOI: 10.1109/TVCG.2009.113.
Advanced color values
Beyond RGB, CMYK and HSL, #332880 can also be represented in perceptual and device-independent color spaces used in color science and modern design tools.
XYZ
- X
- 6.0191
- Y
- 3.7795
- Z
- 20.8302
CIELAB
- L*
- 22.9287
- a*
- 31.5011
- b*
- -48.1229
OKLab
- L
- 0.348966
- a
- 0.029057
- b
- -0.13849
OKLCH
- L
- 0.348966
- C
- 0.141505
- H
- 281.8494°