#40217B vs #5C7B21 β€” Color Comparison

#40217B

#40217B

#5C7B21

#5C7B21

Contrast Ratio

2.5:1

Delta E

111.33

Very Different

50:50 Mix

Color Values

Format #40217B #5C7B21
HEX #40217B #5C7B21
RGB 64, 33, 123 92, 123, 33
HSL 260.7, 57.7%, 30.6% 80.7, 57.7%, 30.6%
HSV 260.7, 73.2%, 48.2% 80.7, 73.2%, 48.2%
CMYK 48.0%, 73.2%, 0.0%, 51.8% 25.2%, 0.0%, 73.2%, 51.8%
OKLCH 0.3465 0.143 293.2 0.5405 0.1213 126.7

Contrast & Accessibility

2.5:1
AA Fail AA Large Fail AAA Fail AAA Large Fail

Text Readability

The quick brown fox jumps over the lazy dog

Text: #5C7B21 β†’ Background: #40217B

The quick brown fox jumps over the lazy dog

Text: #40217B β†’ Background: #5C7B21

Color Difference (Delta E)

111.33 Very Different
0 β€” Identical 5 β€” Similar 25 β€” Noticeable 100 β€” Very Different

Gradient

Color Mixing

CSS Gradient Code

background: linear-gradient(to right, #40217B, #5C7B21);
background: linear-gradient(135deg, #40217B, #5C7B21);

Explore Each Color

Related Comparisons