#1B1240

Dark Purple

HEX

RGB

HSL

About #1B1240 Dark Purple

#1B1240 is a dark purple color. In the RGB color model, it is composed of 27 red, 18 green, and 64 blue. In the HSL color space, it has a hue of 252°, saturation of 56%, and lightness of 16%.

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

Color Properties

252°

Hue

56%

Saturation

16%

Lightness

Dark Purple

Color Harmonies

Colors that work well with #1B1240 based on color theory.

Accessibility

WCAG 2.1 contrast ratio of #1B1240 against white and black backgrounds.

Aa#1B1240 on White
Contrast Ratio17.4:1
AA AA Large AAA
Aa#1B1240 on Black
Contrast Ratio1.21:1
AA AA Large AAA

Color Conversion Table

Complete conversion of #1B1240 across different color formats.

FormatValue
HEX#1B1240
RGBrgb(27, 18, 64)
HSLhsl(252, 56%, 16%)
RGB Decimal27, 18, 64
RGB Percent10.6%, 7.1%, 25.1%
CMYK (approx.)58%, 72%, 0%, 75%

Related Palettes

12 palettes using #1B1240 or similar colors

#1A1A2E#16213E#0F3460#E94560
#141122#22184E#3E3564#432F9D
#0E0F25#161850#272A72#353997
#111222#1F2247#323767#3B4291
#0B0B0D#1A1A2E#E94560#FFBD39
#121122#252343#373465#484488
#0C134F#1D267D#5C469C#D4ADFC
#121221#201F51#393875#4C4AA1
#101323#222744#323967#32409A
#111222#1F2251#30337E#494EA1
#0E1425#1B274B#243875#374E95
#111023#242051#362F7E#473EAD