#401FA2

#401fa2 ≈ Zaffre

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

#401fa2 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 63.53% blue; printed in CMYK it uses 60.49% cyan, 80.86% magenta, 0% yellow and 36.47% black. Its hue angle is 255.11°, with 67.88% saturation and 37.84% 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.85:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 4.8.

Description generated from the measured properties of this color.

Conversions of #401fa2 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.0468

Readable text 10.85:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.94:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #3d3d3d ≈ 0.003% of males
Achromatomaly #3e3373 ≈ 0.001% of males
Protanopia #0041a6 ≈ 1.01% of males
Deuteranopia #0039a0 ≈ 1.27% of males
Tritanopia #004661 ≈ 0.0001% of males
Protanomaly #0036a4 ≈ 1.08% of males
Deuteranomaly #0030a1 ≈ 4.63% of males
Tritanomaly #263a80 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Zaffre
#401fa2  rgb(64, 31, 162)  hsl(255, 68%, 38%)  Zaffre
#81a21f  rgb(129, 162, 31)  hsl(75, 68%, 38%)  Apple Green
#a2401f  rgb(162, 64, 31)  hsl(15, 68%, 38%)  Sienna
#1fa240  rgb(31, 162, 64)  hsl(135, 68%, 38%)  Shamrock Green