Recognised as Colour
#2A0260
- #2A0260
- Violet
- Dark
- Nearest: Midnight blue
#2A0260 is a violet with RGB values 42, 2, 96 and HSL 266°, 96%, 19%. It is a dark colour, so white text on it reaches 16.5:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#2A0260#2A0260
HEX#2A0260
RGBrgb(42, 2, 96)
RGB (0–1)0.1647, 0.0078, 0.3765
RGB percentages16.5%, 0.8%, 37.6%
HSLhsl(265.5, 95.9%, 19.2%)
HSV / HSBhsv(265.5, 97.9%, 37.6%)
CMYK56.3%, 97.9%, 0%, 62.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,753,120
CSS custom property--colour: #2A0260;
Brightness & contrast
Relative luminance0.0138WCAG 2.x, 0 is black and 1 is white
Perceived brightness39.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 16.46:1
Contrast with white16.46:1WCAG normal text: AAA
Contrast with black1.28:1WCAG normal text: Fail
Greyscale equivalent#111111
Inverted#D5FD9F
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text16.46: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#386002
Analogous#020960, #590260
Triadic#602A02, #02602A
Split complementary#605902, #096002
Tetradic#600209, #386002, #026059
Tints, shades & saturation
Channel breakdown
R42
G2
B96
Red42 (16.5%)
Green2 (0.8%)
Blue96 (37.6%)
Hue265.53°
Saturation (HSL)95.92%
Lightness19.22%
Dominant channelBlue
Hex per channelR 2A · G 02 · B 60
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