HTML color code #402F5F

Color name: None
RGB: 64, 47, 95
HSL: 261.25deg, 33.80%, 27.84%
Web safe color: No

RGB complementary color:

A complementary color for this color is #4E5E2E.

Example text color using #402F5F

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:#402F5F;">Your text using HTML color code.</p>
<p style="color:rgb(64 47 95);">Your text using RGB color values.</p>
<p style="color:hsl(261.25deg 33.80% 27.84%);">Your text using HSL color values.</p>

CSS code examples

<style> p { color:#402F5F; } </style>
<style> p { color:rgb(64 47 95); } </style>
<style> p { color:hsl(261.25deg 33.80% 27.84%); } </style>

Lighter colors

#4A3969
#544373
#5E4D7D
#685787
#726191
#7C6B9B
#8675A5
#907FAF

Darker colors

#362555
#2C1B4B
#221141
#180737
#0E002D
#040023
#000019
#00000F

Analogous colors

#472E5E
#4F2E5E
#572E5E
#5E2E5E
#5E2E56
#5E2E4E
#5E2E45
#5E2E3D

Trinary colors

#402F5F
#5E3F2E
#2E5E3F

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