#310FAB

#310fab ≈ Zaffre

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

#310fab 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.88% green and 67.06% blue; printed in CMYK it uses 71.35% cyan, 91.23% magenta, 0% yellow and 32.94% black. Its hue angle is 253.08°, with 83.87% saturation and 36.47% 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.75:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 2.86.

Description generated from the measured properties of this color.

Conversions of #310fab 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.0393

Readable text 11.75: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 #352c78 ≈ 0.001% of males
Protanopia #003eaf ≈ 1.01% of males
Deuteranopia #0031a9 ≈ 1.27% of males
Tritanopia #004764 ≈ 0.0001% of males
Protanomaly #0031ad ≈ 1.08% of males
Deuteranomaly #0027aa ≈ 4.63% of males
Tritanomaly #003886 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-310fab {
  color: #310fab;
}
Background
.bg-310fab {
  background-color: #310fab;
  color: #ffffff;
}
Border
.border-310fab {
  border: 2px solid #310fab;
}
CSS variables
:root {
  --color-primary: #310fab;
  --color-primary-rgb: 49 15 171;
  --color-primary-hsl: 253 84% 36%;
}
Gradient
.gradient-310fab {
  background: linear-gradient(135deg, #310fab, #7f0fab);
}
Colored shadow
.shadow-310fab {
  box-shadow: 0 8px 24px rgb(49 15 171 / 0.35);
}

Zaffre
#310fab  rgb(49, 15, 171)  hsl(253, 84%, 36%)  Zaffre
#89ab0f  rgb(137, 171, 15)  hsl(73, 84%, 36%)  Apple Green
#ab310f  rgb(171, 49, 15)  hsl(13, 84%, 36%)  Rufous
#0fab31  rgb(15, 171, 49)  hsl(133, 84%, 36%)  Kelly Green