Nerdulator> put something in

Recognised as Colour

#B240A6

  • #B240A6
  • Magenta
  • Dark
  • Nearest: Dark magenta

#B240A6 is a magenta with RGB values 178, 64, 166 and HSL 306°, 47%, 47%. It is a dark colour, so white text on it reaches 5:1 contrast (AA for normal text). The nearest named colour is Dark magenta.

Colour values

#B240A6#B240A6
HEX#B240A6
RGBrgb(178, 64, 166)
RGB (0–1)0.698, 0.251, 0.651
RGB percentages69.8%, 25.1%, 65.1%
HSLhsl(306.3, 47.1%, 47.5%)
HSV / HSBhsv(306.3, 64%, 69.8%)
CMYK0%, 64%, 6.7%, 30.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer11,681,958
CSS custom property--colour: #B240A6;

Brightness & contrast

Relative luminance0.15885WCAG 2.x, 0 is black and 1 is white
Perceived brightness122.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 5.03:1
Contrast with white5.03:1WCAG normal text: AA
Contrast with black4.18:1WCAG normal text: Fail
Greyscale equivalent#606060
Inverted#4DBF59

Colour vision & accessibility

Protanopia#3B65A9no red cones; affects about 1% of men; ΔE 51.4 from the original
Deuteranopia#6175A3no green cones; the most common form, about 1% of men; ΔE 53.7 from the original
Tritanopia#B94A6Dno blue cones; rare, and affects men and women equally; ΔE 36.7 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text5.03:1WCAG large text: AAA
Contrast with black, large text4.18:1WCAG large text: AA

Named colours

Nearest named CSS colourDark magenta (#8B008B)ΔE 16.28, a distinctly different colour
Hue familymagenta
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#40B24C
Analogous#8540B2, #B2406D
Triadic#A6B240, #40A6B2
Split complementary#6DB240, #40B285
Tetradic#B28540, #40B24C, #406DB2

Tints, shades & saturation

Lighter +40%#EED0EB
Lighter +30%#E1AADB
Lighter +20%#D385CB
Lighter +10%#C65FBB
Darker −10%#8C3383
Darker −20%#672560
Darker −30%#41183D
Darker −40%#1C0A1A
More saturated +25%#D022BE
Less saturated −25%#945E8E

Channel breakdown

R178
G64
B166
Red178 (69.8%)
Green64 (25.1%)
Blue166 (65.1%)
Hue306.32°
Saturation (HSL)47.11%
Lightness47.45%
Dominant channelRed
Hex per channelR B2 · G 40 · B A6

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