Nerdulator> put something in

Colour

#2A0940

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

#2A0940 is a violet with RGB values 42, 9, 64 and HSL 276°, 75%, 14%. It is a dark colour, so white text on it reaches 17.3:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#2A0940#2A0940
HEX#2A0940
RGBrgb(42, 9, 64)
RGB (0–1)0.1647, 0.0353, 0.251
RGB percentages16.5%, 3.5%, 25.1%
HSLhsl(276, 75.3%, 14.3%)
HSV / HSBhsv(276, 85.9%, 25.1%)
CMYK34.4%, 85.9%, 0%, 74.9%naive device-independent conversion; real print needs an ICC profile
24-bit integer2,754,880
CSS custom property--colour: #2A0940;

Brightness & contrast

Relative luminance0.01058WCAG 2.x, 0 is black and 1 is white
Perceived brightness32.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 17.33:1
Contrast with white17.33:1WCAG normal text: AAA
Contrast with black1.21:1WCAG normal text: Fail
Greyscale equivalent#141414
Inverted#D5F6BF

Colour vision & accessibility

Protanopia#001942no red cones; affects about 1% of men; ΔE 18.1 from the original
Deuteranopia#001B3Fno green cones; the most common form, about 1% of men; ΔE 21.2 from the original
Tritanopia#261724no blue cones; rare, and affects men and women equally; ΔE 27.7 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text17.33:1WCAG large text: AAA
Contrast with black, large text1.21:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#1F4009
Analogous#0E0940, #40093B
Triadic#402A09, #09402A
Split complementary#3B4009, #09400E
Tetradic#400E09, #1F4009, #093B40

Tints, shades & saturation

Lighter +40%#9C33E2
Lighter +30%#821CC6
Lighter +20%#651699
Lighter +10%#470F6D
Darker −10%#0D0313
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#2C0049
Less saturated −25%#281237

Channel breakdown

R42
G9
B64
Red42 (16.5%)
Green9 (3.5%)
Blue64 (25.1%)
Hue276°
Saturation (HSL)75.34%
Lightness14.31%
Dominant channelBlue
Hex per channelR 2A · G 09 · B 40

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