Recognised as Colour
#4B0452
- #4B0452
- Magenta
- Dark
- Nearest: Midnight blue
#4B0452 is a magenta with RGB values 75, 4, 82 and HSL 295°, 91%, 17%. It is a dark colour, so white text on it reaches 14.6:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#4B0452#4B0452
HEX#4B0452
RGBrgb(75, 4, 82)
RGB (0–1)0.2941, 0.0157, 0.3216
RGB percentages29.4%, 1.6%, 32.2%
HSLhsl(294.6, 90.7%, 16.9%)
HSV / HSBhsv(294.6, 95.1%, 32.2%)
CMYK8.5%, 95.1%, 0%, 67.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,916,306
CSS custom property--colour: #4B0452;
Brightness & contrast
Relative luminance0.02192WCAG 2.x, 0 is black and 1 is white
Perceived brightness49.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.6:1
Contrast with white14.6:1WCAG normal text: AAA
Contrast with black1.44:1WCAG normal text: Fail
Greyscale equivalent#191919
Inverted#B4FBAD
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text14.6:1WCAG large text: AAA
Contrast with black, large text1.44:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#0B5204
Analogous#240452, #520432
Triadic#524B04, #04524B
Split complementary#325204, #045224
Tetradic#522404, #0B5204, #043252
Tints, shades & saturation
Channel breakdown
R75
G4
B82
Red75 (29.4%)
Green4 (1.6%)
Blue82 (32.2%)
Hue294.62°
Saturation (HSL)90.7%
Lightness16.86%
Dominant channelBlue
Hex per channelR 4B · G 04 · 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