#310EA2

#310ea2 ≈ Zaffre

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

#310ea2 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 63.53% blue; printed in CMYK it uses 69.75% cyan, 91.36% magenta, 0% yellow and 36.47% black. Its hue angle is 254.19°, with 84.09% saturation and 34.51% 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 corporate identities. White text on this color reaches a contrast ratio of 12.24:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 2.89.

Description generated from the measured properties of this color.

Conversions of #310ea2 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.0358

Readable text 12.24:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.72:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #353535 ≈ 0.003% of males
Achromatomaly #342a71 ≈ 0.001% of males
Protanopia #003aa6 ≈ 1.01% of males
Deuteranopia #002fa0 ≈ 1.27% of males
Tritanopia #00425e ≈ 0.0001% of males
Protanomaly #002ea4 ≈ 1.08% of males
Deuteranomaly #0026a1 ≈ 4.63% of males
Tritanomaly #00347f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Zaffre
#310ea2  rgb(49, 14, 162)  hsl(254, 84%, 35%)  Zaffre
#7fa20e  rgb(127, 162, 14)  hsl(74, 84%, 35%)  Apple Green
#a2310e  rgb(162, 49, 14)  hsl(14, 84%, 35%)  Rufous
#0ea231  rgb(14, 162, 49)  hsl(134, 84%, 35%)  Islamic Green