Color

#220078

Dark vivid cool violet. Nearest reference color: Midnight blue.

color HEX #220078 on paletico.com

RGB

0–255
34
0
120

CMYK

0–100%
71.67%
100%
0%
52.94%

RGB describes how #220078 is represented with light on digital screens. This color combines red 34, green 0 and blue 120.

CMYK describes the same color using the four components commonly used in printing: cyan 71.67%, magenta 100%, yellow 0% and black 52.94%.

HSL values

H 257° S 100% L 23.53%

In the HSL color model, #220078 has a hue of 257°, 100% saturation and 23.53% lightness. The sliders below show where this color sits across each of these three dimensions.

Hue 257°
Saturation 100%
Lightness 23.53%

Color insight

#220078 is a dark, cool violet with vivid chroma.

Temperature
Cool
Lightness
Dark
Chroma
Vivid

Color formats

Copy #220078 in a format ready to use in CSS, design tools or other applications.

HEX #220078
RGB rgb(34, 0, 120)
HSL hsl(257 100% 23.53%)
OKLCH oklch(0.278821 0.169763 279.1288)
CSS --color: #220078;

Tints of #220078

Tints are lighter variations of #220078. They keep the character of the original color while moving progressively toward a lighter appearance.

Shades of #220078

Shades are darker variations of #220078. Moving toward black increases visual depth while preserving the underlying hue of the color.

Tones of #220078

Tones reduce the chroma of #220078, producing quieter and more muted variations without simply making the color lighter or darker.

Tonal range of #220078

A continuous light-to-dark scale places #220078 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: #A9B0FF;
    --color-300: #7274E7;
    --color-400: #4640AF;
    --color-500: #220078;
    --color-600: #1A0061;
    --color-700: #12004A;
    --color-800: #0A0035;
    --color-900: #040021;
}

Colors that go with #220078

Color harmonies for #220078 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.

Analogous

Neighboring hues that stay visually close to the original color.

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.

Tetradic

Four related hues forming two complementary pairs on the color wheel.

CSS gradients with #220078

These gradients show how #220078 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, #220078, #4B4C9D, #8187BF, #BEC2E0, #FFFFFF);

Toward black

A dark gradient that moves from the original color toward black.

background: linear-gradient(90deg, #220078, #130050, #07002A, #01000A, #000000);

Toward the complementary color

A gradient connecting the original color with its complementary hue.

background: linear-gradient(90deg, #220078, #002D41, #00302E, #033308, #302900);

Text contrast and accessibility

Contrast determines how clearly text can be distinguished from #220078. The values below compare white and black text using WCAG contrast ratios.

White text
15.68:1
AA normal Pass AA large Pass AAA normal Pass
Black text
1.34:1
AA normal Fail AA large Fail AAA normal Fail

Recommended text color: #FFFFFF . Relative luminance: 0.0170 .

Accessible CSS

Use the recommended text color with #220078 as the background.

background-color: #220078;
color: #FFFFFF;

Using #220078 in design

See how #220078 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.

Background
Paletico Color in context

#220078 used as a full background with its recommended text color.

Accent
Accent color

Use #220078 to emphasize selected interface elements without filling the entire surface.

Example action
Tonal pair
#A9B0FF
#220078
#0A0035

Colors similar to #220078

These nearby colors are generated from perceptual variations of #220078, including changes in lightness, chroma and hue.

Color vision simulation

The simulations below show mathematical approximations of how #220078 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, #220078 can also be represented in perceptual and device-independent color spaces used in color science and modern design tools.

XYZ

X
4.0488
Y
1.6958
Z
17.8796

CIELAB

L*
13.8022
a*
46.1637
b*
-58.1375

OKLab

L
0.278821
a
0.026934
b
-0.167612

OKLCH

L
0.278821
C
0.169763
H
279.1288°