#2E1FA7

#2E1FA7

#98A71F

#98A71F

Contrast Ratio

4.21:1

Delta E

154.09

Very Different

50:50 Mix

Color Values

Format #2E1FA7 #98A71F
HEX #2E1FA7 #98A71F
RGB 46, 31, 167 152, 167, 31
HSL 246.6, 68.7%, 38.8% 66.6, 68.7%, 38.8%
HSV 246.6, 81.4%, 65.5% 66.6, 81.4%, 65.5%
CMYK 72.5%, 81.4%, 0.0%, 34.5% 9.0%, 0.0%, 81.4%, 34.5%
OKLCH 0.3732 0.2008 275.4 0.6934 0.1499 116.2

Contrast & Accessibility

4.21:1
AA Fail AA Large Pass AAA Fail AAA Large Fail

Text Readability

The quick brown fox jumps over the lazy dog

Text: #98A71F → Background: #2E1FA7

The quick brown fox jumps over the lazy dog

Text: #2E1FA7 → Background: #98A71F

Color Difference (Delta E)

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

Gradient

Color Mixing

CSS Gradient Code

background: linear-gradient(to right, #2E1FA7, #98A71F);
background: linear-gradient(135deg, #2E1FA7, #98A71F);

Explore Each Color

Related Comparisons