#0C052A

Dark Purple

HEX

RGB

HSL

About #0C052A Dark Purple

#0C052A is a dark purple color. In the RGB color model, it is composed of 12 red, 5 green, and 42 blue. In the HSL color space, it has a hue of 251°, saturation of 79%, and lightness of 9%.

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 & Gradients

Use #0C052A in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.

Beautiful Gradients

Color Properties

251°

Hue

79%

Saturation

9%

Lightness

Dark Purple

Color Harmonies

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

Accessibility

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

Aa#0C052A on White
Contrast Ratio19.61:1
AA AA Large AAA
Aa#0C052A on Black
Contrast Ratio1.07:1
AA AA Large AAA

Color Conversion Table

Complete conversion of #0C052A across different color formats.

FormatValue
HEX#0C052A
RGBrgb(12, 5, 42)
HSLhsl(251, 79%, 9%)
RGB Decimal12, 5, 42
RGB Percent4.7%, 2.0%, 16.5%
CMYK (approx.)71%, 88%, 0%, 84%

Related Palettes

12 palettes using #0C052A or similar colors

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