HTML color code #402A6A

Color name: None
RGB: 64, 42, 106
HSL: 260.62deg, 43.24%, 29.02%
Web safe color: No

RGB complementary color:

A complementary color for this color is #556B2B.

Example text color using #402A6A

This text is placeholder text to give you an idea of how this color looks when used as a font color on a white background. The following sentence uses every English character: The quick brown fox jumps over the lazy dog. 0123456789 Bold text. Italic text. With Underline.

                    

This text is placeholder text to give you an idea of how this color looks when used as a font color on a black background. The following sentence uses every English character: The quick brown fox jumps over the lazy dog. 0123456789 Bold text. Italic text. With Underline.

                    

HTML examples

<p style="color:#402A6A;">Your text using HTML color code.</p>
<p style="color:rgb(64 42 106);">Your text using RGB color values.</p>
<p style="color:hsl(260.62deg 43.24% 29.02%);">Your text using HSL color values.</p>

CSS code examples

<style> p { color:#402A6A; } </style>
<style> p { color:rgb(64 42 106); } </style>
<style> p { color:hsl(260.62deg 43.24% 29.02%); } </style>

Lighter colors

#4A3474
#543E7E
#5E4888
#685292
#725C9C
#7C66A6
#8670B0
#907ABA

Darker colors

#362060
#2C1656
#220C4C
#180242
#0E0038
#04002E
#000024
#00001A

Analogous colors

#4C2B6B
#572B6B
#612B6B
#6B2B6A
#6B2B5F
#6B2B55
#6B2B4A
#6B2B3F

Trinary colors

#402A6A
#6B412B
#2B6B41

Adjacent colors

#040720
#0C090A
#34282C
#3B3131
#3A3B3C
#454545
#4D4D4F
#413839
Tip

Enter any HTML color code into our search to get results like this page.

Computer Hope - HTML color codes - Top 100 color codes