#331F7E

#331F7E

white

#FFFFFF

Contrast Ratio

12.82:1

Delta E

100.61

Very Different

50:50 Mix

Color Values

Format #331F7E #FFFFFF
HEX #331F7E #FFFFFF
RGB 51, 31, 126 255, 255, 255
HSL 252.6, 60.5%, 30.8% 0.0, 0.0%, 100.0%
HSV 252.6, 75.4%, 49.4% 0.0, 0.0%, 100.0%
CMYK 59.5%, 75.4%, 0.0%, 50.6% 0.0%, 0.0%, 0.0%, 0.0%
OKLCH 0.3331 0.1498 284.4 1.0 0.0 89.9

Contrast & Accessibility

12.82: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: #331F7E

The quick brown fox jumps over the lazy dog

Text: #331F7E → Background: #FFFFFF

Color Difference (Delta E)

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

Gradient

Color Mixing

CSS Gradient Code

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

Explore Each Color

Related Comparisons