Nerdulator> put something in

Recognised as Colour

#2A1174

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

#2A1174 is a violet with RGB values 42, 17, 116 and HSL 255°, 74%, 26%. It is a dark colour, so white text on it reaches 14.7:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#2A1174#2A1174
HEX#2A1174
RGBrgb(42, 17, 116)
RGB (0–1)0.1647, 0.0667, 0.4549
RGB percentages16.5%, 6.7%, 45.5%
HSLhsl(255.2, 74.4%, 26.1%)
HSV / HSBhsv(255.2, 85.3%, 45.5%)
CMYK63.8%, 85.3%, 0%, 54.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,756,980
CSS custom property--colour: #2A1174;

Brightness & contrast

Relative luminance0.02154WCAG 2.x, 0 is black and 1 is white
Perceived brightness47.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.68:1
Contrast with white14.68:1WCAG normal text: AAA
Contrast with black1.43:1WCAG normal text: Fail
Greyscale equivalent#1D1D1D
Inverted#D5EE8B

Colour vision & accessibility

Protanopia#002B77no red cones; affects about 1% of men; ΔE 19.8 from the original
Deuteranopia#002572no green cones; the most common form, about 1% of men; ΔE 17.3 from the original
Tritanopia#003044no blue cones; rare, and affects men and women equally; ΔE 57.4 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text14.68:1WCAG large text: AAA
Contrast with black, large text1.43:1WCAG large text: Fail

Named colours

Nearest named CSS colourMidnight blue (#191970)ΔE 7.67, clearly different but related
Hue familyviolet
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#5B7411
Analogous#112A74, #5B1174
Triadic#742A11, #11742A
Split complementary#745B11, #2A7411
Tetradic#74112A, #5B7411, #11745B

Tints, shades & saturation

Lighter +40%#8968E9
Lighter +30%#663CE2
Lighter +20%#4A1ECD
Lighter +10%#3A18A0
Darker −10%#1A0A48
Darker −20%#0A041B
Darker −30%#000000
Darker −40%#000000
More saturated +25%#220085
Less saturated −25%#322263

Channel breakdown

R42
G17
B116
Red42 (16.5%)
Green17 (6.7%)
Blue116 (45.5%)
Hue255.15°
Saturation (HSL)74.44%
Lightness26.08%
Dominant channelBlue
Hex per channelR 2A · G 11 · B 74

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