black vs #402A78 β€” Color Comparison

black

#000000

#402A78

#402A78

Contrast Ratio

1.82:1

Delta E

56.5

Very Different

50:50 Mix

Color Values

Format #000000 #402A78
HEX #000000 #402A78
RGB 0, 0, 0 64, 42, 120
HSL 0.0, 0.0%, 0.0% 256.9, 48.1%, 31.8%
HSV 0.0, 0.0%, 0.0% 256.9, 65.0%, 47.1%
CMYK 0%, 0%, 0%, 100% 46.7%, 65.0%, 0.0%, 52.9%
OKLCH 0.0 0.0 0.0 0.3578 0.1268 291.7

Contrast & Accessibility

1.82:1
AA Fail AA Large Fail AAA Fail AAA Large Fail

Text Readability

The quick brown fox jumps over the lazy dog

Text: #402A78 β†’ Background: #000000

The quick brown fox jumps over the lazy dog

Text: #000000 β†’ Background: #402A78

Color Difference (Delta E)

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

Gradient

Color Mixing

CSS Gradient Code

background: linear-gradient(to right, #000000, #402A78);
background: linear-gradient(135deg, #000000, #402A78);

Explore Each Color

Related Comparisons