Recognised as Colour
#2E126D
- #2E126D
- Violet
- Dark
- Nearest: Midnight blue
#2E126D is a violet with RGB values 46, 18, 109 and HSL 258°, 72%, 25%. It is a dark colour, so white text on it reaches 14.8:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#2E126D#2E126D
HEX#2E126D
RGBrgb(46, 18, 109)
RGB (0–1)0.1804, 0.0706, 0.4275
RGB percentages18%, 7.1%, 42.7%
HSLhsl(258.5, 71.7%, 24.9%)
HSV / HSBhsv(258.5, 83.5%, 42.7%)
CMYK57.8%, 83.5%, 0%, 57.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,019,373
CSS custom property--colour: #2E126D;
Brightness & contrast
Relative luminance0.02118WCAG 2.x, 0 is black and 1 is white
Perceived brightness46.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.75:1
Contrast with white14.75:1WCAG normal text: AAA
Contrast with black1.42:1WCAG normal text: Fail
Greyscale equivalent#1F1F1F
Inverted#D1ED92
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text14.75: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#516D12
Analogous#12246D, #5B126D
Triadic#6D2E12, #126D2E
Split complementary#6D5B12, #246D12
Tetradic#6D1224, #516D12, #126D5B
Tints, shades & saturation
Channel breakdown
R46
G18
B109
Red46 (18%)
Green18 (7.1%)
Blue109 (42.7%)
Hue258.46°
Saturation (HSL)71.65%
Lightness24.9%
Dominant channelBlue
Hex per channelR 2E · G 12 · B 6D
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