#2C0CB1

#2c0cb1 ≈ Zaffre

  • violet
  • Lightness: low
  • Saturation: strong
  • Cool

#2c0cb1 is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 17.25% red, 4.71% green and 69.41% blue; printed in CMYK it uses 75.14% cyan, 93.22% magenta, 0% yellow and 30.59% black. Its hue angle is 251.64°, with 87.3% saturation and 37.06% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and call-to-action buttons. White text on this color reaches a contrast ratio of 11.7:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 2.79.

Description generated from the measured properties of this color.

Conversions of #2c0cb1 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#330099
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0397

Readable text 11.7:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.79:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #383838 ≈ 0.003% of males
Achromatomaly #342c7b ≈ 0.001% of males
Protanopia #003fb5 ≈ 1.01% of males
Deuteranopia #0031ae ≈ 1.27% of males
Tritanopia #004967 ≈ 0.0001% of males
Protanomaly #0031b3 ≈ 1.08% of males
Deuteranomaly #0026af ≈ 4.63% of males
Tritanomaly #00398b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2c0cb1 {
  color: #2c0cb1;
}
Background
.bg-2c0cb1 {
  background-color: #2c0cb1;
  color: #ffffff;
}
Border
.border-2c0cb1 {
  border: 2px solid #2c0cb1;
}
CSS variables
:root {
  --color-primary: #2c0cb1;
  --color-primary-rgb: 44 12 177;
  --color-primary-hsl: 252 87% 37%;
}
Gradient
.gradient-2c0cb1 {
  background: linear-gradient(135deg, #2c0cb1, #7f0cb1);
}
Colored shadow
.shadow-2c0cb1 {
  box-shadow: 0 8px 24px rgb(44 12 177 / 0.35);
}

Zaffre
#2c0cb1  rgb(44, 12, 177)  hsl(252, 87%, 37%)  Zaffre
#91b10c  rgb(145, 177, 12)  hsl(72, 87%, 37%)  Apple Green
#b12c0c  rgb(177, 44, 12)  hsl(12, 87%, 37%)  Rufous
#0cb12c  rgb(12, 177, 44)  hsl(132, 87%, 37%)  Kelly Green