#400FA8

#400fa8 ≈ Zaffre

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

#400fa8 is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 25.1% red, 5.88% green and 65.88% blue; printed in CMYK it uses 61.9% cyan, 91.07% magenta, 0% yellow and 34.12% black. Its hue angle is 259.22°, with 83.61% saturation and 35.88% 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.34:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 4.42.

Description generated from the measured properties of this color.

Conversions of #400fa8 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.0426

Readable text 11.34:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.85:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #3a3a3a ≈ 0.003% of males
Achromatomaly #3d2e76 ≈ 0.001% of males
Protanopia #003eac ≈ 1.01% of males
Deuteranopia #0035a6 ≈ 1.27% of males
Tritanopia #004462 ≈ 0.0001% of males
Protanomaly #0031aa ≈ 1.08% of males
Deuteranomaly #002aa7 ≈ 4.63% of males
Tritanomaly #233684 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-400fa8 {
  color: #400fa8;
}
Background
.bg-400fa8 {
  background-color: #400fa8;
  color: #ffffff;
}
Border
.border-400fa8 {
  border: 2px solid #400fa8;
}
CSS variables
:root {
  --color-primary: #400fa8;
  --color-primary-rgb: 64 15 168;
  --color-primary-hsl: 259 84% 36%;
}
Gradient
.gradient-400fa8 {
  background: linear-gradient(135deg, #400fa8, #8d0fa8);
}
Colored shadow
.shadow-400fa8 {
  box-shadow: 0 8px 24px rgb(64 15 168 / 0.35);
}

Zaffre
#400fa8  rgb(64, 15, 168)  hsl(259, 84%, 36%)  Zaffre
#77a80f  rgb(119, 168, 15)  hsl(79, 84%, 36%)  Apple Green
#a8400f  rgb(168, 64, 15)  hsl(19, 84%, 36%)  Rust
#0fa840  rgb(15, 168, 64)  hsl(139, 84%, 36%)  Shamrock Green