#40407E

#40407E

#7E7E40

#7E7E40

Contrast Ratio

2.2:1

Delta E

77.05

Very Different

50:50 Mix

Color Values

Format #40407E #7E7E40
HEX #40407E #7E7E40
RGB 64, 64, 126 126, 126, 64
HSL 240.0, 32.6%, 37.3% 60.0, 32.6%, 37.3%
HSV 240.0, 49.2%, 49.4% 60.0, 49.2%, 49.4%
CMYK 49.2%, 49.2%, 0.0%, 50.6% 0.0%, 0.0%, 49.2%, 50.6%
OKLCH 0.4041 0.102 280.8 0.5789 0.0841 108.8

Contrast & Accessibility

2.2:1
AA Fail AA Large Fail AAA Fail AAA Large Fail

Text Readability

The quick brown fox jumps over the lazy dog

Text: #7E7E40 → Background: #40407E

The quick brown fox jumps over the lazy dog

Text: #40407E → Background: #7E7E40

Color Difference (Delta E)

77.05 Very Different
0 — Identical 5 — Similar 25 — Noticeable 100 — Very Different

Gradient

Color Mixing

CSS Gradient Code

background: linear-gradient(to right, #40407E, #7E7E40);
background: linear-gradient(135deg, #40407E, #7E7E40);

Explore Each Color

Related Comparisons