#2B0CAA

#2b0caa ≈ Zaffre

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

#2b0caa is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 16.86% red, 4.71% green and 66.67% blue; printed in CMYK it uses 74.71% cyan, 92.94% magenta, 0% yellow and 33.33% black. Its hue angle is 251.77°, with 86.81% saturation and 35.69% 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 12.1:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 2.4.

Description generated from the measured properties of this color.

Conversions of #2b0caa 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.0368

Readable text 12.1:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.74:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #363636 ≈ 0.003% of males
Achromatomaly #322a77 ≈ 0.001% of males
Protanopia #003cae ≈ 1.01% of males
Deuteranopia #002fa8 ≈ 1.27% of males
Tritanopia #004663 ≈ 0.0001% of males
Protanomaly #002fac ≈ 1.08% of males
Deuteranomaly #0025a9 ≈ 4.63% of males
Tritanomaly #003785 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Zaffre
#2b0caa  rgb(43, 12, 170)  hsl(252, 87%, 36%)  Zaffre
#8baa0c  rgb(139, 170, 12)  hsl(72, 87%, 36%)  Apple Green
#aa2b0c  rgb(170, 43, 12)  hsl(12, 87%, 36%)  Rufous
#0caa2b  rgb(12, 170, 43)  hsl(132, 87%, 36%)  Kelly Green