Recognised as Colour
#2A007E
- #2A007E
- Violet
- Dark
- Nearest: Navy
#2A007E is a violet with RGB values 42, 0, 126 and HSL 260°, 100%, 25%. It is a dark colour, so white text on it reaches 15:1 contrast (AAA for normal text). The nearest named colour is Navy.
Colour values
#2A007E#2A007E
HEX#2A007E
RGBrgb(42, 0, 126)
RGB (0–1)0.1647, 0, 0.4941
RGB percentages16.5%, 0%, 49.4%
HSLhsl(260, 100%, 24.7%)
HSV / HSBhsv(260, 100%, 49.4%)
CMYK66.7%, 100%, 0%, 50.6%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,752,638
CSS custom property--colour: #2A007E;
Brightness & contrast
Relative luminance0.01999WCAG 2.x, 0 is black and 1 is white
Perceived brightness48.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15:1
Contrast with white15:1WCAG normal text: AAA
Contrast with black1.4:1WCAG normal text: Fail
Greyscale equivalent#121212
Inverted#D5FF81
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text15:1WCAG large text: AAA
Contrast with black, large text1.4:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#547E00
Analogous#00157E, #69007E
Triadic#7E2A00, #007E2A
Split complementary#7E6900, #157E00
Tetradic#7E0015, #547E00, #007E69
Tints, shades & saturation
Channel breakdown
R42
G0
B126
Red42 (16.5%)
Green0 (0%)
Blue126 (49.4%)
Hue260°
Saturation (HSL)100%
Lightness24.71%
Dominant channelBlue
Hex per channelR 2A · G 00 · B 7E
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Nerdulate something else
Nothing in mind? Surprise me · today’s page