black

#000000

#5F12A6

#5F12A6

Contrast Ratio

2.12:1

Delta E

89.82

Very Different

50:50 Mix

Color Values

Format #000000 #5F12A6
HEX #000000 #5F12A6
RGB 0, 0, 0 95, 18, 166
HSL 0.0, 0.0%, 0.0% 271.2, 80.4%, 36.1%
HSV 0.0, 0.0%, 0.0% 271.2, 89.2%, 65.1%
CMYK 0%, 0%, 0%, 100% 42.8%, 89.2%, 0.0%, 34.9%
OKLCH 0.0 0.0 0.0 0.4102 0.2058 299.8

Contrast & Accessibility

2.12:1
AA Fail AA Large Fail AAA Fail AAA Large Fail

Text Readability

The quick brown fox jumps over the lazy dog

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

The quick brown fox jumps over the lazy dog

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

Color Difference (Delta E)

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

Gradient

Color Mixing

CSS Gradient Code

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

Explore Each Color

Related Comparisons