Nerdulator> put something in

Recognised as Colour

#2E1840

  • #2E1840
  • Violet
  • Dark
  • Nearest: Dark slateblue

#2E1840 is a violet with RGB values 46, 24, 64 and HSL 273°, 45%, 17%. It is a dark colour, so white text on it reaches 15.9:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.

Colour values

#2E1840#2E1840
HEX#2E1840
RGBrgb(46, 24, 64)
RGB (0–1)0.1804, 0.0941, 0.251
RGB percentages18%, 9.4%, 25.1%
HSLhsl(273, 45.5%, 17.3%)
HSV / HSBhsv(273, 62.5%, 25.1%)
CMYK28.1%, 62.5%, 0%, 74.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,020,864
CSS custom property--colour: #2E1840;

Brightness & contrast

Relative luminance0.01604WCAG 2.x, 0 is black and 1 is white
Perceived brightness37.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.9:1
Contrast with white15.9:1WCAG normal text: AAA
Contrast with black1.32:1WCAG normal text: Fail
Greyscale equivalent#202020
Inverted#D1E7BF

Colour vision & accessibility

Protanopia#0B2141no red cones; affects about 1% of men; ΔE 15.5 from the original
Deuteranopia#12223Fno green cones; the most common form, about 1% of men; ΔE 15.7 from the original
Tritanopia#2B1F29no blue cones; rare, and affects men and women equally; ΔE 20.8 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text15.9:1WCAG large text: AAA
Contrast with black, large text1.32:1WCAG large text: Fail

Named colours

Nearest named CSS colourDark slateblue (#483D8B)ΔE 27.82, a distinctly different colour
Hue familyviolet
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#2A4018
Analogous#1A1840, #40183E
Triadic#402E18, #18402E
Split complementary#3E4018, #18401A
Tetradic#401A18, #2A4018, #183E40

Tints, shades & saturation

Lighter +40%#9760C4
Lighter +30%#7E42AF
Lighter +20%#63348A
Lighter +10%#492665
Darker −10%#130A1B
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#2F0D4B
Less saturated −25%#2D2335

Channel breakdown

R46
G24
B64
Red46 (18%)
Green24 (9.4%)
Blue64 (25.1%)
Hue273°
Saturation (HSL)45.45%
Lightness17.25%
Dominant channelBlue
Hex per channelR 2E · G 18 · 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 “2e1840” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.