Recognised as Colour
#42168A
- #42168A
- Violet
- Dark
- Nearest: Indigo
#42168A is a violet with RGB values 66, 22, 138 and HSL 263°, 72%, 31%. It is a dark colour, so white text on it reaches 12.3:1 contrast (AAA for normal text). The nearest named colour is Indigo.
Colour values
#42168A#42168A
HEX#42168A
RGBrgb(66, 22, 138)
RGB (0–1)0.2588, 0.0863, 0.5412
RGB percentages25.9%, 8.6%, 54.1%
HSLhsl(262.8, 72.5%, 31.4%)
HSV / HSBhsv(262.8, 84.1%, 54.1%)
CMYK52.2%, 84.1%, 0%, 45.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,331,146
CSS custom property--colour: #42168A;
Brightness & contrast
Relative luminance0.03567WCAG 2.x, 0 is black and 1 is white
Perceived brightness61.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.26:1
Contrast with white12.26:1WCAG normal text: AAA
Contrast with black1.71:1WCAG normal text: Fail
Greyscale equivalent#282828
Inverted#BDE975
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text12.26:1WCAG large text: AAA
Contrast with black, large text1.71:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#5E8A16
Analogous#16248A, #7C168A
Triadic#8A4216, #168A42
Split complementary#8A7C16, #248A16
Tetradic#8A1624, #5E8A16, #168A7C
Tints, shades & saturation
Channel breakdown
R66
G22
B138
Red66 (25.9%)
Green22 (8.6%)
Blue138 (54.1%)
Hue262.76°
Saturation (HSL)72.5%
Lightness31.37%
Dominant channelBlue
Hex per channelR 42 · G 16 · B 8A
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