Recognised as Colour
#2E1078
- #2E1078
- Violet
- Dark
- Nearest: Midnight blue
#2E1078 is a violet with RGB values 46, 16, 120 and HSL 257°, 76%, 27%. It is a dark colour, so white text on it reaches 14.4:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#2E1078#2E1078
HEX#2E1078
RGBrgb(46, 16, 120)
RGB (0–1)0.1804, 0.0627, 0.4706
RGB percentages18%, 6.3%, 47.1%
HSLhsl(257.3, 76.5%, 26.7%)
HSV / HSBhsv(257.3, 86.7%, 47.1%)
CMYK61.7%, 86.7%, 0%, 52.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,018,872
CSS custom property--colour: #2E1078;
Brightness & contrast
Relative luminance0.02307WCAG 2.x, 0 is black and 1 is white
Perceived brightness49.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.37:1
Contrast with white14.37:1WCAG normal text: AAA
Contrast with black1.46:1WCAG normal text: Fail
Greyscale equivalent#1E1E1E
Inverted#D1EF87
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text14.37:1WCAG large text: AAA
Contrast with black, large text1.46:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#5A7810
Analogous#102678, #621078
Triadic#782E10, #10782E
Split complementary#786210, #267810
Tetradic#781026, #5A7810, #107862
Tints, shades & saturation
Channel breakdown
R46
G16
B120
Red46 (18%)
Green16 (6.3%)
Blue120 (47.1%)
Hue257.31°
Saturation (HSL)76.47%
Lightness26.67%
Dominant channelBlue
Hex per channelR 2E · G 10 · B 78
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Harmonies
Similar named colours
Nerdulate something else
Nothing in mind? Surprise me · today’s page