black

#000000

#5A02B1

#5A02B1

Contrast Ratio

2.08:1

Delta E

98.3

Very Different

50:50 Mix

Color Values

Format #000000 #5A02B1
HEX #000000 #5A02B1
RGB 0, 0, 0 90, 2, 177
HSL 0.0, 0.0%, 0.0% 270.2, 97.8%, 35.1%
HSV 0.0, 0.0%, 0.0% 270.2, 98.9%, 69.4%
CMYK 0%, 0%, 0%, 100% 49.2%, 98.9%, 0.0%, 30.6%
OKLCH 0.0 0.0 0.0 0.4079 0.2223 295.3

Contrast & Accessibility

2.08:1
AA Fail AA Large Fail AAA Fail AAA Large Fail

Text Readability

The quick brown fox jumps over the lazy dog

Text: #5A02B1 β†’ Background: #000000

The quick brown fox jumps over the lazy dog

Text: #000000 β†’ Background: #5A02B1

Color Difference (Delta E)

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

Gradient

Color Mixing

CSS Gradient Code

background: linear-gradient(to right, #000000, #5A02B1);
background: linear-gradient(135deg, #000000, #5A02B1);

Explore Each Color

Related Comparisons