Recognised as Colour
#20004A
- #20004A
- Violet
- Dark
- Nearest: Midnight blue
#20004A is a violet with RGB values 32, 0, 74 and HSL 266°, 100%, 15%. It is a dark colour, so white text on it reaches 18.1:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#20004A#20004A
HEX#20004A
RGBrgb(32, 0, 74)
RGB (0–1)0.1255, 0, 0.2902
RGB percentages12.5%, 0%, 29%
HSLhsl(265.9, 100%, 14.5%)
HSV / HSBhsv(265.9, 100%, 29%)
CMYK56.8%, 100%, 0%, 71%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,097,226
CSS custom property--colour: #20004A;
Brightness & contrast
Relative luminance0.00801WCAG 2.x, 0 is black and 1 is white
Perceived brightness30.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 18.1:1
Contrast with white18.1:1WCAG normal text: AAA
Contrast with black1.16:1WCAG normal text: Fail
Greyscale equivalent#0C0C0C
Inverted#DFFFB5
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text18.1:1WCAG large text: AAA
Contrast with black, large text1.16:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#2A4A00
Analogous#00054A, #45004A
Triadic#4A2000, #004A20
Split complementary#4A4500, #054A00
Tetradic#4A0005, #2A4A00, #004A45
Tints, shades & saturation
Channel breakdown
R32
G0
B74
Red32 (12.5%)
Green0 (0%)
Blue74 (29%)
Hue265.95°
Saturation (HSL)100%
Lightness14.51%
Dominant channelBlue
Hex per channelR 20 · G 00 · B 4A
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