#42276A color

#42276A rgb(66, 39, 106)
Shades of purple

The hex color #42276A is a dark, desaturated violet.

In the RGB color model it is made of 25.9% red, 15.3% green and 41.6% blue (66, 39, 106).

Its hue angle is 264°, with 46% saturation and 28% lightness. For print, the CMYK equivalent is 38% cyan, 63% magenta, 0% yellow and 58% black.

The closest named color is Fading Horizon (#442266), a difference of 1.7 ΔE, which is barely visible.

White text is the more readable choice on this background (contrast 12.14:1).

#42276A color codes

HEX#42276A
RGBrgb(66, 39, 106)
RGB percentrgb(25.9%, 15.3%, 41.6%)
HSLhsl(264, 46%, 28%)
HSV / HSBhsv(264, 63%, 42%)
CMYKcmyk(38%, 63%, 0%, 58%)
CIE LABlab(22.48, 28.39, -34.71)
CIE LCHlch(22.48, 44.84, 309.29)
CIE XYZxyz(5.573, 3.65, 14.044)
Decimal4335466
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #42276A, 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 #42276ARatioAAAAAAA large
Sample text1.73:1FailFailFail
Sample text12.14:1PassPassPass
#42276A as text onRatioAAAAAAA large
Sample text12.14:1PassPassPass
Sample text1.73:1FailFailFail

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 #42276A looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #42276a; }
.text { color: #42276a; }
.border { border: 2px solid #42276a; }
.transparent { background-color: rgb(66 39 106 / 50%); }
.gradient { background: linear-gradient(to right, #42276a, #63276a); }
Background
Text color
Border

Similar colors

Closest common color name: Midnight Blue.

Questions

What color is #42276A?
#42276A is a dark, desaturated violet, closest to the named color Fading Horizon. It belongs to the purple family of colors.
What is the RGB value of #42276A?
The RGB value is 66, 39, 106: 66 red, 39 green and 106 blue on a 0 to 255 scale.
What is the complementary color of #42276A?
The complementary color is #4F6A27, found by rotating the hue 180° on the color wheel.
Is black or white text better on #42276A?
White text. Black text has a contrast ratio of 1.73:1 and white text 12.14:1. WCAG asks for at least 4.5:1 for normal text.