#240C40

Dark Purple

HEX

RGB

HSL

About #240C40 Dark Purple

#240C40 is a dark purple color. In the RGB color model, it is composed of 36 red, 12 green, and 64 blue. In the HSL color space, it has a hue of 268°, saturation of 68%, and lightness of 15%.

This color has a low lightness value, making it a dark color great for text and bold accents. With moderate saturation, it appears balanced and versatile.

CSS Code

Use #240C40 in your CSS, SCSS, or Tailwind projects.

Color Properties

268°

Hue

68%

Saturation

15%

Lightness

Dark Purple

Color Harmonies

Colors that work well with #240C40 based on color theory.

Accessibility

WCAG 2.1 contrast ratio of #240C40 against white and black backgrounds.

Aa#240C40 on White
Contrast Ratio17.48:1
AA AA Large AAA
Aa#240C40 on Black
Contrast Ratio1.2:1
AA AA Large AAA

Color Conversion Table

Complete conversion of #240C40 across different color formats.

FormatValue
HEX#240C40
RGBrgb(36, 12, 64)
HSLhsl(268, 68%, 15%)
RGB Decimal36, 12, 64
RGB Percent14.1%, 4.7%, 25.1%
CMYK (approx.)44%, 81%, 0%, 75%

Related Palettes

12 palettes using #240C40 or similar colors

#141122#22184E#3E3564#432F9D
#121122#252343#373465#484488
#160A29#2F2046#452574#5F418B
#111222#1F2247#323767#3B4291
#250B28#4B1452#682A6F#922E9E
#0E0F25#161850#272A72#353997
#1A1A2E#16213E#0F3460#E94560
#0B0B0D#1A1A2E#E94560#FFBD39
#111023#222050#393677#4742A9
#121221#201F51#393875#4C4AA1
#131122#26214F#372F7F#5C5695
#101023#23224E#2D2C82#4442A9