#40217E vs #5F7E21 β€” Color Comparison

#40217E

#40217E

#5F7E21

#5F7E21

Contrast Ratio

2.59:1

Delta E

114.29

Very Different

50:50 Mix

Color Values

Format #40217E #5F7E21
HEX #40217E #5F7E21
RGB 64, 33, 126 95, 126, 33
HSL 260.0, 58.5%, 31.2% 80.0, 58.5%, 31.2%
HSV 260.0, 73.8%, 49.4% 80.0, 73.8%, 49.4%
CMYK 49.2%, 73.8%, 0.0%, 50.6% 24.6%, 0.0%, 73.8%, 50.6%
OKLCH 0.3492 0.1468 292.3 0.5503 0.1238 126.4

Contrast & Accessibility

2.59:1
AA Fail AA Large Fail AAA Fail AAA Large Fail

Text Readability

The quick brown fox jumps over the lazy dog

Text: #5F7E21 β†’ Background: #40217E

The quick brown fox jumps over the lazy dog

Text: #40217E β†’ Background: #5F7E21

Color Difference (Delta E)

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

Gradient

Color Mixing

CSS Gradient Code

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

Explore Each Color

Related Comparisons