Recognised as Colour
#4C2152
- #4C2152
- Magenta
- Dark
- Nearest: Dark slateblue
#4C2152 is a magenta with RGB values 76, 33, 82 and HSL 293°, 43%, 23%. It is a dark colour, so white text on it reaches 12.8:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.
Colour values
#4C2152#4C2152
HEX#4C2152
RGBrgb(76, 33, 82)
RGB (0–1)0.298, 0.1294, 0.3216
RGB percentages29.8%, 12.9%, 32.2%
HSLhsl(292.7, 42.6%, 22.5%)
HSV / HSBhsv(292.7, 59.8%, 32.2%)
CMYK7.3%, 59.8%, 0%, 67.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,989,266
CSS custom property--colour: #4C2152;
Brightness & contrast
Relative luminance0.03233WCAG 2.x, 0 is black and 1 is white
Perceived brightness56 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.75:1
Contrast with white12.75:1WCAG normal text: AAA
Contrast with black1.65:1WCAG normal text: Fail
Greyscale equivalent#2E2E2E
Inverted#B3DEAD
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text12.75:1WCAG large text: AAA
Contrast with black, large text1.65:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#275221
Analogous#332152, #522140
Triadic#524C21, #21524C
Split complementary#405221, #215233
Tetradic#523321, #275221, #214052
Tints, shades & saturation
Channel breakdown
R76
G33
B82
Red76 (29.8%)
Green33 (12.9%)
Blue82 (32.2%)
Hue292.65°
Saturation (HSL)42.61%
Lightness22.55%
Dominant channelBlue
Hex per channelR 4C · G 21 · B 52
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