#42217B vs #5A7B21 β Color Comparison
#42217B
#42217B
#5A7B21
#5A7B21
Color Values
| Format | #42217B | #5A7B21 |
|---|---|---|
| HEX | #42217B | #5A7B21 |
| RGB | 66, 33, 123 | 90, 123, 33 |
| HSL | 262.0, 57.7%, 30.6% | 82.0, 57.7%, 30.6% |
| HSV | 262.0, 73.2%, 48.2% | 82.0, 73.2%, 48.2% |
| CMYK | 46.3%, 73.2%, 0.0%, 51.8% | 26.8%, 0.0%, 73.2%, 51.8% |
| OKLCH | 0.3488 0.1431 294.6 | 0.5391 0.1224 127.6 |
Contrast & Accessibility
2.47:1
AA Fail
AA Large Fail
AAA Fail
AAA Large Fail
Text Readability
The quick brown fox jumps over the lazy dog
Text: #5A7B21 β Background: #42217B
The quick brown fox jumps over the lazy dog
Text: #42217B β Background: #5A7B21
Color Difference (Delta E)
111.47
Very Different
0 β Identical
5 β Similar
25 β Noticeable
100 β Very Different
Gradient
Color Mixing
CSS Gradient Code
background: linear-gradient(to right, #42217B, #5A7B21);
background: linear-gradient(135deg, #42217B, #5A7B21);