Recognised as Colour
#2E1070
- #2E1070
- Violet
- Dark
- Nearest: Midnight blue
#2E1070 is a violet with RGB values 46, 16, 112 and HSL 259°, 75%, 25%. It is a dark colour, so white text on it reaches 14.7:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#2E1070#2E1070
HEX#2E1070
RGBrgb(46, 16, 112)
RGB (0–1)0.1804, 0.0627, 0.4392
RGB percentages18%, 6.3%, 43.9%
HSLhsl(258.8, 75%, 25.1%)
HSV / HSBhsv(258.8, 85.7%, 43.9%)
CMYK58.9%, 85.7%, 0%, 56.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,018,864
CSS custom property--colour: #2E1070;
Brightness & contrast
Relative luminance0.02121WCAG 2.x, 0 is black and 1 is white
Perceived brightness47 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.74:1
Contrast with white14.74:1WCAG normal text: AAA
Contrast with black1.42:1WCAG normal text: Fail
Greyscale equivalent#1D1D1D
Inverted#D1EF8F
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text14.74:1WCAG large text: AAA
Contrast with black, large text1.42:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#527010
Analogous#102270, #5E1070
Triadic#702E10, #10702E
Split complementary#705E10, #227010
Tetradic#701022, #527010, #10705E
Tints, shades & saturation
Channel breakdown
R46
G16
B112
Red46 (18%)
Green16 (6.3%)
Blue112 (43.9%)
Hue258.75°
Saturation (HSL)75%
Lightness25.1%
Dominant channelBlue
Hex per channelR 2E · G 10 · B 70
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