Nerdulator> put something in

Recognised as Colour

#2E1754

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

#2E1754 is a violet with RGB values 46, 23, 84 and HSL 263°, 57%, 21%. It is a dark colour, so white text on it reaches 15.4:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#2E1754#2E1754
HEX#2E1754
RGBrgb(46, 23, 84)
RGB (0–1)0.1804, 0.0902, 0.3294
RGB percentages18%, 9%, 32.9%
HSLhsl(262.6, 57%, 21%)
HSV / HSBhsv(262.6, 72.6%, 32.9%)
CMYK45.2%, 72.6%, 0%, 67.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,020,628
CSS custom property--colour: #2E1754;

Brightness & contrast

Relative luminance0.01834WCAG 2.x, 0 is black and 1 is white
Perceived brightness41.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.36:1
Contrast with white15.36:1WCAG normal text: AAA
Contrast with black1.37:1WCAG normal text: Fail
Greyscale equivalent#202020
Inverted#D1E8AB

Colour vision & accessibility

Protanopia#002556no red cones; affects about 1% of men; ΔE 16.9 from the original
Deuteranopia#002453no green cones; the most common form, about 1% of men; ΔE 17.6 from the original
Tritanopia#242533no blue cones; rare, and affects men and women equally; ΔE 33.3 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text15.36:1WCAG large text: AAA
Contrast with black, large text1.37:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#3D5417
Analogous#171F54, #4C1754
Triadic#542E17, #17542E
Split complementary#544C17, #1F5417
Tetradic#54171F, #3D5417, #17544C

Tints, shades & saturation

Lighter +40%#8E63D4
Lighter +30%#703BC9
Lighter +20%#5A2DA4
Lighter +10%#44227C
Darker −10%#180C2C
Darker −20%#020104
Darker −30%#000000
Darker −40%#000000
More saturated +25%#2B0A61
Less saturated −25%#312447

Channel breakdown

R46
G23
B84
Red46 (18%)
Green23 (9%)
Blue84 (32.9%)
Hue262.62°
Saturation (HSL)57.01%
Lightness20.98%
Dominant channelBlue
Hex per channelR 2E · G 17 · B 54

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