Nerdulator> put something in

Recognised as Colour

#2E1371

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

#2E1371 is a violet with RGB values 46, 19, 113 and HSL 257°, 71%, 26%. It is a dark colour, so white text on it reaches 14.5:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#2E1371#2E1371
HEX#2E1371
RGBrgb(46, 19, 113)
RGB (0–1)0.1804, 0.0745, 0.4431
RGB percentages18%, 7.5%, 44.3%
HSLhsl(257.2, 71.2%, 25.9%)
HSV / HSBhsv(257.2, 83.2%, 44.3%)
CMYK59.3%, 83.2%, 0%, 55.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,019,633
CSS custom property--colour: #2E1371;

Brightness & contrast

Relative luminance0.02239WCAG 2.x, 0 is black and 1 is white
Perceived brightness48 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.51:1
Contrast with white14.51:1WCAG normal text: AAA
Contrast with black1.45:1WCAG normal text: Fail
Greyscale equivalent#202020
Inverted#D1EC8E

Colour vision & accessibility

Protanopia#002B74no red cones; affects about 1% of men; ΔE 19.4 from the original
Deuteranopia#00276Fno green cones; the most common form, about 1% of men; ΔE 18.6 from the original
Tritanopia#0E2F42no blue cones; rare, and affects men and women equally; ΔE 53.9 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text14.51:1WCAG large text: AAA
Contrast with black, large text1.45:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#567113
Analogous#132771, #5D1371
Triadic#712E13, #13712E
Split complementary#715D13, #277113
Tetradic#711327, #567113, #13715D

Tints, shades & saturation

Lighter +40%#8E6AE6
Lighter +30%#6C3EDF
Lighter +20%#5222C8
Lighter +10%#401A9D
Darker −10%#1C0C45
Darker −20%#0A041A
Darker −30%#000000
Darker −40%#000000
More saturated +25%#270282
Less saturated −25%#352361

Channel breakdown

R46
G19
B113
Red46 (18%)
Green19 (7.5%)
Blue113 (44.3%)
Hue257.23°
Saturation (HSL)71.21%
Lightness25.88%
Dominant channelBlue
Hex per channelR 2E · G 13 · B 71

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