#31218F

#31218F

#7F8F21

#7F8F21

Contrast Ratio

3.35:1

Delta E

130.3

Very Different

50:50 Mix

Color Values

Format #31218F #7F8F21
HEX #31218F #7F8F21
RGB 49, 33, 143 127, 143, 33
HSL 248.7, 62.5%, 34.5% 68.7, 62.5%, 34.5%
HSV 248.7, 76.9%, 56.1% 68.7, 76.9%, 56.1%
CMYK 65.7%, 76.9%, 0.0%, 43.9% 11.2%, 0.0%, 76.9%, 43.9%
OKLCH 0.3516 0.1694 279.8 0.6168 0.1308 117.8

Contrast & Accessibility

3.35:1
AA Fail AA Large Pass AAA Fail AAA Large Fail

Text Readability

The quick brown fox jumps over the lazy dog

Text: #7F8F21 → Background: #31218F

The quick brown fox jumps over the lazy dog

Text: #31218F → Background: #7F8F21

Color Difference (Delta E)

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

Gradient

Color Mixing

CSS Gradient Code

background: linear-gradient(to right, #31218F, #7F8F21);
background: linear-gradient(135deg, #31218F, #7F8F21);

Explore Each Color

Related Comparisons