#0c0227 Color Information

In a RGB color space, hex #0c0227 is composed of 4.7% red, 0.8% green and 15.3% blue. Whereas in a CMYK color space, it is composed of 69.2% cyan, 94.9% magenta, 0% yellow and 84.7% black. It has a hue angle of 256.2 degrees, a saturation of 90.2% and a lightness of 8%. #0c0227 color hex could be obtained by blending #18044e with #000000. Closest websafe color is: #000033.

    • R 5
    • G 1
    • B 15
    RGB color chart
    • C 69
    • M 95
    • Y 0
    • K 85
    CMYK color chart

#0c0227 color description : Very dark (mostly black) violet.

#0c0227 Color Conversion

The hexadecimal color #0c0227 has RGB values of R:12, G:2, B:39 and CMYK values of C:0.69, M:0.95, Y:0, K:0.85. Its decimal value is 786983.

Hex triplet 0c0227 #0c0227
RGB Decimal 12, 2, 39 rgb(12,2,39)
RGB Percent 4.7, 0.8, 15.3 rgb(4.7%,0.8%,15.3%)
CMYK 69, 95, 0, 85
HSL 256.2°, 90.2, 8 hsl(256.2,90.2%,8%)
HSV (or HSB) 256.2°, 94.9, 15.3
Web Safe 000033 #000033
CIE-LAB 2.421, 11.662, -20.5
XYZ 0.539, 0.268, 1.943
xyY 0.196, 0.097, 0.268
CIE-LCH 2.421, 23.585, 299.635
CIE-LUV 2.421, 0.311, -7.432
Hunter-Lab 5.177, 9.539, -18.623
Binary 00001100, 00000010, 00100111

Color Schemes with #0c0227

Complementary Color
Analogous Color
Split Complementary Color
Triadic Color
Tetradic Color
Monochromatic Color

Alternatives to #0c0227

Below, you can see some colors close to #0c0227. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.

Similar Colors

#0c0227 Preview

Text with hexadecimal color #0c0227

This text has a font color of #0c0227.

<span style="color:#0c0227;">Text here</span>
#0c0227 background color

This paragraph has a background color of #0c0227.

<p style="background-color:#0c0227;">Content here</p>
#0c0227 border color

This element has a border color of #0c0227.

<div style="border:1px solid #0c0227;">Content here</div>
CSS codes
.text {color:#0c0227;}
.background {background-color:#0c0227;}
.border {border:1px solid #0c0227;}

Shades and Tints of #0c0227

A shade is achieved by adding black to any pure hue, while a tint is created by mixing white to any pure color. In this example, #010002 is the darkest color, while #f2eefe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #0c0227

A tone is produced by adding gray to any pure hue. In this case, #141316 is the less saturated color, while #0b0029 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #0c0227 is perceived by people affected by a color vision deficiency. This can be useful if you need to ensure your color combinations are accessible to color-blind users.

  • #090909 Achromatopsia 0.005% of the population
  • #0a080f Atypical Achromatopsia 0.001% of the population
  • #001528 Protanopia 1% of men
  • #001623 Deuteranopia 1% of men
  • #0c1718 Tritanopia 0.001% of the population
  • #040e28 Protanomaly 1% of men, 0.01% of women
  • #040e24 Deuteranomaly 6% of men, 0.4% of women
  • #0c0f1d Tritanomaly 0.01% of the population