Nerdulator> put something in

Recognised as Colour

#2A102B

  • #2A102B
  • Magenta
  • Dark
  • Nearest: Black

#2A102B is a magenta with RGB values 42, 16, 43 and HSL 298°, 46%, 12%. It is a dark colour, so white text on it reaches 17.4:1 contrast (AAA for normal text). The nearest named colour is Black.

Colour values

#2A102B#2A102B
HEX#2A102B
RGBrgb(42, 16, 43)
RGB (0–1)0.1647, 0.0627, 0.1686
RGB percentages16.5%, 6.3%, 16.9%
HSLhsl(297.8, 45.8%, 11.6%)
HSV / HSBhsv(297.8, 62.8%, 16.9%)
CMYK2.3%, 62.8%, 0%, 83.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,756,651
CSS custom property--colour: #2A102B;

Brightness & contrast

Relative luminance0.01037WCAG 2.x, 0 is black and 1 is white
Perceived brightness29.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 17.39:1
Contrast with white17.39:1WCAG normal text: AAA
Contrast with black1.21:1WCAG normal text: Fail
Greyscale equivalent#171717
Inverted#D5EFD4

Colour vision & accessibility

Protanopia#0D182Cno red cones; affects about 1% of men; ΔE 15.9 from the original
Deuteranopia#151B2Ano green cones; the most common form, about 1% of men; ΔE 16.3 from the original
Tritanopia#2B131Bno blue cones; rare, and affects men and women equally; ΔE 13.2 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text17.39:1WCAG large text: AAA
Contrast with black, large text1.21:1WCAG large text: Fail

Named colours

Nearest named CSS colourBlack (#000000)ΔE 24.14, a distinctly different colour
Hue familymagenta
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#112B10
Analogous#1D102B, #2B101E
Triadic#2B2A10, #102B2A
Split complementary#1E2B10, #102B1C
Tetradic#2B1C10, #112B10, #101E2B

Tints, shades & saturation

Lighter +40%#B84BBC
Lighter +30%#97399B
Lighter +20%#732C75
Lighter +10%#4E1E50
Darker −10%#060206
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#310932
Less saturated −25%#231724

Channel breakdown

R42
G16
B43
Red42 (16.5%)
Green16 (6.3%)
Blue43 (16.9%)
Hue297.78°
Saturation (HSL)45.76%
Lightness11.57%
Dominant channelBlue
Hex per channelR 2A · G 10 · B 2B

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