#310EA7

#310ea7 ≈ Zaffre

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

#310ea7 is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 19.22% red, 5.49% green and 65.49% blue; printed in CMYK it uses 70.66% cyan, 91.62% magenta, 0% yellow and 34.51% black. Its hue angle is 253.73°, with 84.53% saturation and 35.49% 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.99:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 2.82.

Description generated from the measured properties of this color.

Conversions of #310ea7 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.0376

Readable text 11.99:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.75:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #373737 ≈ 0.003% of males
Achromatomaly #342b75 ≈ 0.001% of males
Protanopia #003cab ≈ 1.01% of males
Deuteranopia #0030a5 ≈ 1.27% of males
Tritanopia #004561 ≈ 0.0001% of males
Protanomaly #002fa9 ≈ 1.08% of males
Deuteranomaly #0026a6 ≈ 4.63% of males
Tritanomaly #003683 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-310ea7 {
  color: #310ea7;
}
Background
.bg-310ea7 {
  background-color: #310ea7;
  color: #ffffff;
}
Border
.border-310ea7 {
  border: 2px solid #310ea7;
}
CSS variables
:root {
  --color-primary: #310ea7;
  --color-primary-rgb: 49 14 167;
  --color-primary-hsl: 254 85% 35%;
}
Gradient
.gradient-310ea7 {
  background: linear-gradient(135deg, #310ea7, #7e0ea7);
}
Colored shadow
.shadow-310ea7 {
  box-shadow: 0 8px 24px rgb(49 14 167 / 0.35);
}

Zaffre
#310ea7  rgb(49, 14, 167)  hsl(254, 85%, 35%)  Zaffre
#84a70e  rgb(132, 167, 14)  hsl(74, 85%, 35%)  Apple Green
#a7310e  rgb(167, 49, 14)  hsl(14, 85%, 35%)  Rufous
#0ea731  rgb(14, 167, 49)  hsl(134, 85%, 35%)  Islamic Green