#400F8A

Purple

HEX

RGB

HSL

About #400F8A Purple

#400F8A is a purple color. In the RGB color model, it is composed of 64 red, 15 green, and 138 blue. In the HSL color space, it has a hue of 264°, saturation of 80%, and lightness of 30%.

This color has a low lightness value, making it a dark color great for text and bold accents. With high saturation, it appears vibrant and eye-catching.

CSS Code

Use #400F8A in your CSS, SCSS, or Tailwind projects.

Color Properties

264°

Hue

80%

Saturation

30%

Lightness

Purple

Color Harmonies

Colors that work well with #400F8A based on color theory.

Accessibility

WCAG 2.1 contrast ratio of #400F8A against white and black backgrounds.

Aa#400F8A on White
Contrast Ratio12.7:1
AA AA Large AAA
Aa#400F8A on Black
Contrast Ratio1.65:1
AA AA Large AAA

Color Conversion Table

Complete conversion of #400F8A across different color formats.

FormatValue
HEX#400F8A
RGBrgb(64, 15, 138)
HSLhsl(264, 80%, 30%)
RGB Decimal64, 15, 138
RGB Percent25.1%, 5.9%, 54.1%
CMYK (approx.)54%, 89%, 0%, 46%

Related Palettes

12 palettes using #400F8A or similar colors

#160A29#2F2046#452574#5F418B
#161320#302947#422D80#5F48A3
#181221#33214F#4D2B82#6B49A2
#111023#242051#362F7E#473EAD
#171023#352B45#4D2F7E#6F5A90
#3A27A5#A734E4#E67FD6#F4BED1
#141122#22184E#3E3564#432F9D
#3628A4#A037E2#E184D6#F1C1D3
#110F24#29244C#3A327C#5B5397
#3425A7#9F3CDC#E184D6#F6BCD2
#3A20AC#AB38E0#EC79D7#F2BFCF
#131320#2B2B45#30307E#4949A1