Nerdulator> put something in

Recognised as Colour

#2A0965

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

#2A0965 is a violet with RGB values 42, 9, 101 and HSL 262°, 84%, 22%. It is a dark colour, so white text on it reaches 15.8:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#2A0965#2A0965
HEX#2A0965
RGBrgb(42, 9, 101)
RGB (0–1)0.1647, 0.0353, 0.3961
RGB percentages16.5%, 3.5%, 39.6%
HSLhsl(261.5, 83.6%, 21.6%)
HSV / HSBhsv(261.5, 91.1%, 39.6%)
CMYK58.4%, 91.1%, 0%, 60.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,754,917
CSS custom property--colour: #2A0965;

Brightness & contrast

Relative luminance0.01627WCAG 2.x, 0 is black and 1 is white
Perceived brightness41.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.84:1
Contrast with white15.84:1WCAG normal text: AAA
Contrast with black1.33:1WCAG normal text: Fail
Greyscale equivalent#171717
Inverted#D5F69A

Colour vision & accessibility

Protanopia#002467no red cones; affects about 1% of men; ΔE 20.3 from the original
Deuteranopia#002063no green cones; the most common form, about 1% of men; ΔE 19 from the original
Tritanopia#112739no blue cones; rare, and affects men and women equally; ΔE 51.4 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text15.84:1WCAG large text: AAA
Contrast with black, large text1.33:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#446509
Analogous#091665, #580965
Triadic#652A09, #09652A
Split complementary#655809, #166509
Tetradic#650916, #446509, #096558

Tints, shades & saturation

Lighter +40%#864BEF
Lighter +30%#661CEB
Lighter +20%#5111C3
Lighter +10%#3D0D94
Darker −10%#170536
Darker −20%#030107
Darker −30%#000000
Darker −40%#000000
More saturated +25%#27006E
Less saturated −25%#2E1757

Channel breakdown

R42
G9
B101
Red42 (16.5%)
Green9 (3.5%)
Blue101 (39.6%)
Hue261.52°
Saturation (HSL)83.64%
Lightness21.57%
Dominant channelBlue
Hex per channelR 2A · G 09 · B 65

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