#401FA7

#401fa7 ≈ Zaffre

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

#401fa7 is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 25.1% red, 12.16% green and 65.49% blue; printed in CMYK it uses 61.68% cyan, 81.44% magenta, 0% yellow and 34.51% black. Its hue angle is 254.56°, with 68.69% saturation and 38.82% 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 brand accents. White text on this color reaches a contrast ratio of 10.65:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 4.76.

Description generated from the measured properties of this color.

Conversions of #401fa7 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#333399
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0486

Readable text 10.65:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.97:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #3e3e3e ≈ 0.003% of males
Achromatomaly #3f3477 ≈ 0.001% of males
Protanopia #0042ab ≈ 1.01% of males
Deuteranopia #003aa5 ≈ 1.27% of males
Tritanopia #004964 ≈ 0.0001% of males
Protanomaly #0037a9 ≈ 1.08% of males
Deuteranomaly #0031a6 ≈ 4.63% of males
Tritanomaly #233c84 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-401fa7 {
  color: #401fa7;
}
Background
.bg-401fa7 {
  background-color: #401fa7;
  color: #ffffff;
}
Border
.border-401fa7 {
  border: 2px solid #401fa7;
}
CSS variables
:root {
  --color-primary: #401fa7;
  --color-primary-rgb: 64 31 167;
  --color-primary-hsl: 255 69% 39%;
}
Gradient
.gradient-401fa7 {
  background: linear-gradient(135deg, #401fa7, #841fa7);
}
Colored shadow
.shadow-401fa7 {
  box-shadow: 0 8px 24px rgb(64 31 167 / 0.35);
}

Zaffre
#401fa7  rgb(64, 31, 167)  hsl(255, 69%, 39%)  Zaffre
#86a71f  rgb(134, 167, 31)  hsl(75, 69%, 39%)  Apple Green
#a7401f  rgb(167, 64, 31)  hsl(15, 69%, 39%)  Rust
#1fa740  rgb(31, 167, 64)  hsl(135, 69%, 39%)  Shamrock Green