Nerdulator> put something in

Recognised as Colour

#42186A

  • #42186A
  • Violet
  • Dark
  • Nearest: Midnight blue

#42186A is a violet with RGB values 66, 24, 106 and HSL 271°, 63%, 25%. It is a dark colour, so white text on it reaches 13.4:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#42186A#42186A
HEX#42186A
RGBrgb(66, 24, 106)
RGB (0–1)0.2588, 0.0941, 0.4157
RGB percentages25.9%, 9.4%, 41.6%
HSLhsl(270.7, 63.1%, 25.5%)
HSV / HSBhsv(270.7, 77.4%, 41.6%)
CMYK37.7%, 77.4%, 0%, 58.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,331,626
CSS custom property--colour: #42186A;

Brightness & contrast

Relative luminance0.02852WCAG 2.x, 0 is black and 1 is white
Perceived brightness54.1 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.37:1
Contrast with white13.37:1WCAG normal text: AAA
Contrast with black1.57:1WCAG normal text: Fail
Greyscale equivalent#272727
Inverted#BDE795

Colour vision & accessibility

Protanopia#002E6Cno red cones; affects about 1% of men; ΔE 23.5 from the original
Deuteranopia#002F68no green cones; the most common form, about 1% of men; ΔE 26.2 from the original
Tritanopia#3A2C3Fno blue cones; rare, and affects men and women equally; ΔE 39.8 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text13.37:1WCAG large text: AAA
Contrast with black, large text1.57:1WCAG large text: Fail

Named colours

Nearest named CSS colourMidnight blue (#191970)ΔE 11.71, a distinctly different colour
Hue familyviolet
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#406A18
Analogous#19186A, #6A1869
Triadic#6A4218, #186A42
Split complementary#696A18, #186A19
Tetradic#6A1918, #406A18, #18696A

Tints, shades & saturation

Lighter +40%#A86FDF
Lighter +30%#8F46D5
Lighter +20%#762BBD
Lighter +10%#5C2194
Darker −10%#280F40
Darker −20%#0E0517
Darker −30%#000000
Darker −40%#000000
More saturated +25%#42087A
Less saturated −25%#42285A

Channel breakdown

R66
G24
B106
Red66 (25.9%)
Green24 (9.4%)
Blue106 (41.6%)
Hue270.73°
Saturation (HSL)63.08%
Lightness25.49%
Dominant channelBlue
Hex per channelR 42 · G 18 · B 6A

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