Recognised as Colour
#CD04A4
- #CD04A4
- Magenta
- Dark
- Nearest: Medium violet red
#CD04A4 is a magenta with RGB values 205, 4, 164 and HSL 312°, 96%, 41%. It is a dark colour, so white text on it reaches 5.1:1 contrast (AA for normal text). The nearest named colour is Medium violet red.
Colour values
#CD04A4#CD04A4
HEX#CD04A4
RGBrgb(205, 4, 164)
RGB (0–1)0.8039, 0.0157, 0.6431
RGB percentages80.4%, 1.6%, 64.3%
HSLhsl(312.2, 96.2%, 41%)
HSV / HSBhsv(312.2, 98%, 80.4%)
CMYK0%, 98%, 20%, 19.6%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer13,436,068
CSS custom property--colour: #CD04A4;
Brightness & contrast
Relative luminance0.15746WCAG 2.x, 0 is black and 1 is white
Perceived brightness125.1 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 5.06:1
Contrast with white5.06:1WCAG normal text: AA
Contrast with black4.15:1WCAG normal text: Fail
Greyscale equivalent#3A3A3A
Inverted#32FB5B
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text5.06:1WCAG large text: AAA
Contrast with black, large text4.15:1WCAG large text: AA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#04CD2D
Analogous#9204CD, #CD043F
Triadic#A4CD04, #04A4CD
Split complementary#3FCD04, #04CD92
Tetradic#CD9204, #04CD2D, #043FCD
Tints, shades & saturation
Channel breakdown
R205
G4
B164
Red205 (80.4%)
Green4 (1.6%)
Blue164 (64.3%)
Hue312.24°
Saturation (HSL)96.17%
Lightness40.98%
Dominant channelRed
Hex per channelR CD · G 04 · B A4
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