#401FA5

#401fa5 ≈ Zaffre

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

#401fa5 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 64.71% blue; printed in CMYK it uses 61.21% cyan, 81.21% magenta, 0% yellow and 35.29% black. Its hue angle is 254.78°, with 68.37% saturation and 38.43% 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.73:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 4.76.

Description generated from the measured properties of this color.

Conversions of #401fa5 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.0479

Readable text 10.73:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.96:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #3e3e3e ≈ 0.003% of males
Achromatomaly #3f3475 ≈ 0.001% of males
Protanopia #0042a9 ≈ 1.01% of males
Deuteranopia #0039a3 ≈ 1.27% of males
Tritanopia #004863 ≈ 0.0001% of males
Protanomaly #0037a7 ≈ 1.08% of males
Deuteranomaly #0031a4 ≈ 4.63% of males
Tritanomaly #253b82 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Zaffre
#401fa5  rgb(64, 31, 165)  hsl(255, 68%, 38%)  Zaffre
#84a51f  rgb(132, 165, 31)  hsl(75, 68%, 38%)  Apple Green
#a5401f  rgb(165, 64, 31)  hsl(15, 68%, 38%)  Rust
#1fa540  rgb(31, 165, 64)  hsl(135, 68%, 38%)  Shamrock Green