Recognised as Colour
#2E1048
- #2E1048
- Violet
- Dark
- Nearest: Midnight blue
#2E1048 is a violet with RGB values 46, 16, 72 and HSL 272°, 64%, 17%. It is a dark colour, so white text on it reaches 16.4:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#2E1048#2E1048
HEX#2E1048
RGBrgb(46, 16, 72)
RGB (0–1)0.1804, 0.0627, 0.2824
RGB percentages18%, 6.3%, 28.2%
HSLhsl(272.1, 63.6%, 17.3%)
HSV / HSBhsv(272.1, 77.8%, 28.2%)
CMYK36.1%, 77.8%, 0%, 71.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,018,824
CSS custom property--colour: #2E1048;
Brightness & contrast
Relative luminance0.01419WCAG 2.x, 0 is black and 1 is white
Perceived brightness37.1 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 16.36:1
Contrast with white16.36:1WCAG normal text: AAA
Contrast with black1.28:1WCAG normal text: Fail
Greyscale equivalent#1A1A1A
Inverted#D1EFB7
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text16.36:1WCAG large text: AAA
Contrast with black, large text1.28:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#2A4810
Analogous#121048, #481046
Triadic#482E10, #10482E
Split complementary#464810, #104812
Tetradic#481210, #2A4810, #104648
Tints, shades & saturation
Channel breakdown
R46
G16
B72
Red46 (18%)
Green16 (6.3%)
Blue72 (28.2%)
Hue272.14°
Saturation (HSL)63.64%
Lightness17.25%
Dominant channelBlue
Hex per channelR 2E · G 10 · B 48
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