#40126D

Purple

HEX

RGB

HSL

About #40126D Purple

#40126D is a purple color. In the RGB color model, it is composed of 64 red, 18 green, and 109 blue. In the HSL color space, it has a hue of 270°, saturation of 72%, and lightness of 25%.

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 #40126D in your CSS, SCSS, or Tailwind projects.

Color Properties

270°

Hue

72%

Saturation

25%

Lightness

Purple

Color Harmonies

Colors that work well with #40126D based on color theory.

Accessibility

WCAG 2.1 contrast ratio of #40126D against white and black backgrounds.

Aa#40126D on White
Contrast Ratio13.77:1
AA AA Large AAA
Aa#40126D on Black
Contrast Ratio1.53:1
AA AA Large AAA

Color Conversion Table

Complete conversion of #40126D across different color formats.

FormatValue
HEX#40126D
RGBrgb(64, 18, 109)
HSLhsl(270, 72%, 25%)
RGB Decimal64, 18, 109
RGB Percent25.1%, 7.1%, 42.7%
CMYK (approx.)41%, 83%, 0%, 57%

Related Palettes

12 palettes using #40126D or similar colors

#160A29#2F2046#452574#5F418B
#1E0E25#421C54#5E436B#8647A4
#250B28#4B1452#682A6F#922E9E
#1D1221#431E52#60416C#805D8E
#1F1023#481E52#6F307D#993CAE
#180D26#361E52#554469#7043A8
#1E1221#491F51#6E3479#8C5497
#1A1320#3B2050#59426C#795A90
#1C1023#3E2150#5C406D#7C5991
#161320#302947#422D80#5F48A3
#1C0F24#3D214F#5B416C#7E4C9F
#3F3366#714C9A#A67DB5#D4AAD4