Nerdulator> put something in

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

Protanopia#192F54no red cones; affects about 1% of men; ΔE 23.9 from the original
Deuteranopia#273451no green cones; the most common form, about 1% of men; ΔE 24.9 from the original
Tritanopia#4D2836no blue cones; rare, and affects men and women equally; ΔE 21.9 from the original
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

Nearest named CSS colourDark slateblue (#483D8B)ΔE 23.23, a distinctly different colour
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

Lighter +40%#BE77C8
Lighter +30%#AD52BA
Lighter +20%#8F3E9B
Lighter +10%#6E3076
Darker −10%#2A122E
Darker −20%#090409
Darker −30%#000000
Darker −40%#000000
More saturated +25%#571360
Less saturated −25%#412F44

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.

Nerdulate something else

Nothing in mind? Surprise me · today’s page

Every value on this page was computed from “4c2152” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.