#0C0221

Dark Purple

HEX

RGB

HSL

About #0C0221 Dark Purple

#0C0221 is a dark purple color. In the RGB color model, it is composed of 12 red, 2 green, and 33 blue. In the HSL color space, it has a hue of 259°, saturation of 89%, and lightness of 7%.

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

Color Properties

259°

Hue

89%

Saturation

7%

Lightness

Dark Purple

Color Harmonies

Colors that work well with #0C0221 based on color theory.

Accessibility

WCAG 2.1 contrast ratio of #0C0221 against white and black backgrounds.

Aa#0C0221 on White
Contrast Ratio20.07:1
AA AA Large AAA
Aa#0C0221 on Black
Contrast Ratio1.05:1
AA AA Large AAA

Color Conversion Table

Complete conversion of #0C0221 across different color formats.

FormatValue
HEX#0C0221
RGBrgb(12, 2, 33)
HSLhsl(259, 89%, 7%)
RGB Decimal12, 2, 33
RGB Percent4.7%, 0.8%, 12.9%
CMYK (approx.)64%, 94%, 0%, 87%

Related Palettes

12 palettes using #0C0221 or similar colors

#0F0E25#2C2C45#3F3E6F#3E3DAE
#0E0F25#161850#272A72#353997
#110F24#29244C#3A327C#5B5397
#140D26#332C44#4C3C72#6347A4
#101023#23224E#2D2C82#4442A9
#140E25#2F264A#44317D#675991
#111023#242051#362F7E#473EAD
#111023#222050#393677#4742A9
#160A29#2F2046#452574#5F418B
#150E25#31254B#4B3A73#6142A9
#140F24#2A1C54#422E7F#5E46A5
#0F1124#2C2E44#353B78#565B95