Recognised as Colour
#CC0478
- #CC0478
- Magenta
- Dark
- Nearest: Medium violet red
#CC0478 is a magenta with RGB values 204, 4, 120 and HSL 325°, 96%, 41%. It is a dark colour, so white text on it reaches 5.4:1 contrast (AA for normal text). The nearest named colour is Medium violet red.
Colour values
#CC0478#CC0478
HEX#CC0478
RGBrgb(204, 4, 120)
RGB (0–1)0.8, 0.0157, 0.4706
RGB percentages80%, 1.6%, 47.1%
HSLhsl(325.2, 96.2%, 40.8%)
HSV / HSBhsv(325.2, 98%, 80%)
CMYK0%, 98%, 41.2%, 20%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer13,370,488
CSS custom property--colour: #CC0478;
Brightness & contrast
Relative luminance0.1428WCAG 2.x, 0 is black and 1 is white
Perceived brightness118.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 5.45:1
Contrast with white5.45:1WCAG normal text: AA
Contrast with black3.86:1WCAG normal text: Fail
Greyscale equivalent#373737
Inverted#33FB87
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text5.45:1WCAG large text: AAA
Contrast with black, large text3.86:1WCAG large text: AA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#04CC58
Analogous#BC04CC, #CC0414
Triadic#78CC04, #0478CC
Split complementary#14CC04, #04CCBC
Tetradic#CCBC04, #04CC58, #0414CC
Tints, shades & saturation
Channel breakdown
R204
G4
B120
Red204 (80%)
Green4 (1.6%)
Blue120 (47.1%)
Hue325.2°
Saturation (HSL)96.15%
Lightness40.78%
Dominant channelRed
Hex per channelR CC · G 04 · B 78
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Harmonies
Similar named colours
Nerdulate something else
Nothing in mind? Surprise me · today’s page