Recognised as Colour
#2A1146
- #2A1146
- Violet
- Dark
- Nearest: Midnight blue
#2A1146 is a violet with RGB values 42, 17, 70 and HSL 268°, 61%, 17%. It is a dark colour, so white text on it reaches 16.6:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#2A1146#2A1146
HEX#2A1146
RGBrgb(42, 17, 70)
RGB (0–1)0.1647, 0.0667, 0.2745
RGB percentages16.5%, 6.7%, 27.5%
HSLhsl(268.3, 60.9%, 17.1%)
HSV / HSBhsv(268.3, 75.7%, 27.5%)
CMYK40%, 75.7%, 0%, 72.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,756,934
CSS custom property--colour: #2A1146;
Brightness & contrast
Relative luminance0.01335WCAG 2.x, 0 is black and 1 is white
Perceived brightness35.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 16.57:1
Contrast with white16.57:1WCAG normal text: AAA
Contrast with black1.27:1WCAG normal text: Fail
Greyscale equivalent#1A1A1A
Inverted#D5EEB9
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text16.57:1WCAG large text: AAA
Contrast with black, large text1.27:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#2D4611
Analogous#111346, #451146
Triadic#462A11, #11462A
Split complementary#464511, #124611
Tetradic#461112, #2D4611, #114645
Tints, shades & saturation
Channel breakdown
R42
G17
B70
Red42 (16.5%)
Green17 (6.7%)
Blue70 (27.5%)
Hue268.3°
Saturation (HSL)60.92%
Lightness17.06%
Dominant channelBlue
Hex per channelR 2A · G 11 · B 46
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