Recognised as Colour
#42095C
- #42095C
- Violet
- Dark
- Nearest: Midnight blue
#42095C is a violet with RGB values 66, 9, 92 and HSL 281°, 82%, 20%. It is a dark colour, so white text on it reaches 14.7:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#42095C#42095C
HEX#42095C
RGBrgb(66, 9, 92)
RGB (0–1)0.2588, 0.0353, 0.3608
RGB percentages25.9%, 3.5%, 36.1%
HSLhsl(281.2, 82.2%, 19.8%)
HSV / HSBhsv(281.2, 90.2%, 36.1%)
CMYK28.3%, 90.2%, 0%, 63.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,327,772
CSS custom property--colour: #42095C;
Brightness & contrast
Relative luminance0.02126WCAG 2.x, 0 is black and 1 is white
Perceived brightness48.1 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.73:1
Contrast with white14.73:1WCAG normal text: AAA
Contrast with black1.43:1WCAG normal text: Fail
Greyscale equivalent#1B1B1B
Inverted#BDF6A3
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text14.73:1WCAG large text: AAA
Contrast with black, large text1.43:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#235C09
Analogous#18095C, #5C094D
Triadic#5C4209, #095C42
Split complementary#4D5C09, #095C18
Tetradic#5C1809, #235C09, #094D5C
Tints, shades & saturation
Channel breakdown
R66
G9
B92
Red66 (25.9%)
Green9 (3.5%)
Blue92 (36.1%)
Hue281.2°
Saturation (HSL)82.18%
Lightness19.8%
Dominant channelBlue
Hex per channelR 42 · G 09 · B 5C
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