Recognised as Colour
#20104C
- #20104C
- Violet
- Dark
- Nearest: Midnight blue
#20104C is a violet with RGB values 32, 16, 76 and HSL 256°, 65%, 18%. It is a dark colour, so white text on it reaches 16.9:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#20104C#20104C
HEX#20104C
RGBrgb(32, 16, 76)
RGB (0–1)0.1255, 0.0627, 0.298
RGB percentages12.5%, 6.3%, 29.8%
HSLhsl(256, 65.2%, 18%)
HSV / HSBhsv(256, 78.9%, 29.8%)
CMYK57.9%, 78.9%, 0%, 70.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,101,324
CSS custom property--colour: #20104C;
Brightness & contrast
Relative luminance0.01199WCAG 2.x, 0 is black and 1 is white
Perceived brightness33.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 16.94:1
Contrast with white16.94:1WCAG normal text: AAA
Contrast with black1.24:1WCAG normal text: Fail
Greyscale equivalent#181818
Inverted#DFEFB3
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text16.94:1WCAG large text: AAA
Contrast with black, large text1.24:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#3C4C10
Analogous#101E4C, #3E104C
Triadic#4C2010, #104C20
Split complementary#4C3E10, #1E4C10
Tetradic#4C101E, #3C4C10, #104C3E
Tints, shades & saturation
Channel breakdown
R32
G16
B76
Red32 (12.5%)
Green16 (6.3%)
Blue76 (29.8%)
Hue256°
Saturation (HSL)65.22%
Lightness18.04%
Dominant channelBlue
Hex per channelR 20 · G 10 · B 4C
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