Nerdulator> put something in

Recognised as Colour

#2A1146

  • #2A1146
  • Violet
  • Dark
  • Nearest: Midnight blue

#2A1146 is a violet with RGB values 42, 17, 70 and HSL 268°, 61%, 17%. It is a dark colour, so white text on it reaches 16.6:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#2A1146#2A1146
HEX#2A1146
RGBrgb(42, 17, 70)
RGB (0–1)0.1647, 0.0667, 0.2745
RGB percentages16.5%, 6.7%, 27.5%
HSLhsl(268.3, 60.9%, 17.1%)
HSV / HSBhsv(268.3, 75.7%, 27.5%)
CMYK40%, 75.7%, 0%, 72.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,756,934
CSS custom property--colour: #2A1146;

Brightness & contrast

Relative luminance0.01335WCAG 2.x, 0 is black and 1 is white
Perceived brightness35.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 16.57:1
Contrast with white16.57:1WCAG normal text: AAA
Contrast with black1.27:1WCAG normal text: Fail
Greyscale equivalent#1A1A1A
Inverted#D5EEB9

Colour vision & accessibility

Protanopia#001E48no red cones; affects about 1% of men; ΔE 16.6 from the original
Deuteranopia#001E45no green cones; the most common form, about 1% of men; ΔE 18 from the original
Tritanopia#241D29no blue cones; rare, and affects men and women equally; ΔE 28.6 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text16.57:1WCAG large text: AAA
Contrast with black, large text1.27:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#2D4611
Analogous#111346, #451146
Triadic#462A11, #11462A
Split complementary#464511, #124611
Tetradic#461112, #2D4611, #114645

Tints, shades & saturation

Lighter +40%#8E4FD4
Lighter +30%#742FC1
Lighter +20%#5B2598
Lighter +10%#431B6F
Darker −10%#11071D
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#290651
Less saturated −25%#2B1C3B

Channel breakdown

R42
G17
B70
Red42 (16.5%)
Green17 (6.7%)
Blue70 (27.5%)
Hue268.3°
Saturation (HSL)60.92%
Lightness17.06%
Dominant channelBlue
Hex per channelR 2A · G 11 · B 46

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