#310CAA

#310caa ≈ Zaffre

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

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

Description generated from the measured properties of this color.

Conversions of #310caa 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.0382

Readable text 11.91:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.76:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #373737 ≈ 0.003% of males
Achromatomaly #352b77 ≈ 0.001% of males
Protanopia #003dae ≈ 1.01% of males
Deuteranopia #0031a8 ≈ 1.27% of males
Tritanopia #004563 ≈ 0.0001% of males
Protanomaly #0030ac ≈ 1.08% of males
Deuteranomaly #0026a9 ≈ 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-310caa {
  color: #310caa;
}
Background
.bg-310caa {
  background-color: #310caa;
  color: #ffffff;
}
Border
.border-310caa {
  border: 2px solid #310caa;
}
CSS variables
:root {
  --color-primary: #310caa;
  --color-primary-rgb: 49 12 170;
  --color-primary-hsl: 254 87% 36%;
}
Gradient
.gradient-310caa {
  background: linear-gradient(135deg, #310caa, #800caa);
}
Colored shadow
.shadow-310caa {
  box-shadow: 0 8px 24px rgb(49 12 170 / 0.35);
}

Zaffre
#310caa  rgb(49, 12, 170)  hsl(254, 87%, 36%)  Zaffre
#85aa0c  rgb(133, 170, 12)  hsl(74, 87%, 36%)  Apple Green
#aa310c  rgb(170, 49, 12)  hsl(14, 87%, 36%)  Rufous
#0caa31  rgb(12, 170, 49)  hsl(134, 87%, 36%)  Kelly Green