Recognised as Colour
#42059C
- #42059C
- Violet
- Dark
- Nearest: Dark blue
#42059C is a violet with RGB values 66, 5, 156 and HSL 264°, 94%, 32%. It is a dark colour, so white text on it reaches 12.1:1 contrast (AAA for normal text). The nearest named colour is Dark blue.
Colour values
#42059C#42059C
HEX#42059C
RGBrgb(66, 5, 156)
RGB (0–1)0.2588, 0.0196, 0.6118
RGB percentages25.9%, 2%, 61.2%
HSLhsl(264.2, 93.8%, 31.6%)
HSV / HSBhsv(264.2, 96.8%, 61.2%)
CMYK57.7%, 96.8%, 0%, 38.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,326,812
CSS custom property--colour: #42059C;
Brightness & contrast
Relative luminance0.03667WCAG 2.x, 0 is black and 1 is white
Perceived brightness64 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.11:1
Contrast with white12.11:1WCAG normal text: AAA
Contrast with black1.73:1WCAG normal text: Fail
Greyscale equivalent#1D1D1D
Inverted#BDFA63
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text12.11:1WCAG large text: AAA
Contrast with black, large text1.73:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#5F9C05
Analogous#05149C, #8E059C
Triadic#9C4205, #059C42
Split complementary#9C8D05, #149C05
Tetradic#9C0514, #5F9C05, #059C8E
Tints, shades & saturation
Channel breakdown
R66
G5
B156
Red66 (25.9%)
Green5 (2%)
Blue156 (61.2%)
Hue264.24°
Saturation (HSL)93.79%
Lightness31.57%
Dominant channelBlue
Hex per channelR 42 · G 05 · B 9C
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