Nerdulator> put something in

Recognised as Colour

#5A0066

  • #5A0066
  • Magenta
  • Dark
  • Nearest: Purple

#5A0066 is a magenta with RGB values 90, 0, 102 and HSL 293°, 100%, 20%. It is a dark colour, so white text on it reaches 12.9:1 contrast (AAA for normal text). The nearest named colour is Purple.

Colour values

#5A0066#5A0066
HEX#5A0066
RGBrgb(90, 0, 102)
RGB (0–1)0.3529, 0, 0.4
RGB percentages35.3%, 0%, 40%
HSLhsl(292.9, 100%, 20%)
HSV / HSBhsv(292.9, 100%, 40%)
CMYK11.8%, 100%, 0%, 60%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,898,342
CSS custom property--colour: #5A0066;

Brightness & contrast

Relative luminance0.03133WCAG 2.x, 0 is black and 1 is white
Perceived brightness60.1 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.91:1
Contrast with white12.91:1WCAG normal text: AAA
Contrast with black1.63:1WCAG normal text: Fail
Greyscale equivalent#1A1A1A
Inverted#A5FF99

Colour vision & accessibility

Protanopia#002C68no red cones; affects about 1% of men; ΔE 35.4 from the original
Deuteranopia#153464no green cones; the most common form, about 1% of men; ΔE 40.8 from the original
Tritanopia#5B1C39no blue cones; rare, and affects men and women equally; ΔE 35.6 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text12.91:1WCAG large text: AAA
Contrast with black, large text1.63:1WCAG large text: Fail

Named colours

Nearest named CSS colourPurple (#800080)ΔE 14.35, a distinctly different colour
Hue familymagenta
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#0C6600
Analogous#270066, #66003F
Triadic#665A00, #00665A
Split complementary#3F6600, #006627
Tetradic#662700, #0C6600, #003F66

Tints, shades & saturation

Lighter +40%#E733FF
Lighter +30%#E100FF
Lighter +20%#B400CC
Lighter +10%#870099
Darker −10%#2D0033
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#5A0066
Less saturated −25%#500D59

Channel breakdown

R90
G0
B102
Red90 (35.3%)
Green0 (0%)
Blue102 (40%)
Hue292.94°
Saturation (HSL)100%
Lightness20%
Dominant channelBlue
Hex per channelR 5A · G 00 · B 66

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 “5a0066” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.