#331797 vs white β€” Color Comparison

#331797

#331797

white

#FFFFFF

Contrast Ratio

12.28:1

Delta E

111.42

Very Different

50:50 Mix

Color Values

Format #331797 #FFFFFF
HEX #331797 #FFFFFF
RGB 51, 23, 151 255, 255, 255
HSL 253.1, 73.6%, 34.1% 0.0, 0.0%, 100.0%
HSV 253.1, 84.8%, 59.2% 0.0, 0.0%, 100.0%
CMYK 66.2%, 84.8%, 0.0%, 40.8% 0.0%, 0.0%, 0.0%, 0.0%
OKLCH 0.3504 0.1874 280.7 1.0 0.0 89.9

Contrast & Accessibility

12.28:1
AA Pass AA Large Pass AAA Pass AAA Large Pass

Text Readability

The quick brown fox jumps over the lazy dog

Text: #FFFFFF β†’ Background: #331797

The quick brown fox jumps over the lazy dog

Text: #331797 β†’ Background: #FFFFFF

Color Difference (Delta E)

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

Gradient

Color Mixing

CSS Gradient Code

background: linear-gradient(to right, #331797, #FFFFFF);
background: linear-gradient(135deg, #331797, #FFFFFF);

Explore Each Color

Related Comparisons