#340FAA

#340faa ≈ Zaffre

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

#340faa is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 20.39% red, 5.88% green and 66.67% blue; printed in CMYK it uses 69.41% cyan, 91.18% magenta, 0% yellow and 33.33% black. Its hue angle is 254.32°, with 83.78% saturation and 36.27% 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.7:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 3.12.

Description generated from the measured properties of this color.

Conversions of #340faa 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.0397

Readable text 11.7: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 #372d77 ≈ 0.001% of males
Protanopia #003eae ≈ 1.01% of males
Deuteranopia #0032a8 ≈ 1.27% of males
Tritanopia #004663 ≈ 0.0001% of males
Protanomaly #0031ac ≈ 1.08% of males
Deuteranomaly #0028a9 ≈ 4.63% of males
Tritanomaly #003785 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-340faa {
  color: #340faa;
}
Background
.bg-340faa {
  background-color: #340faa;
  color: #ffffff;
}
Border
.border-340faa {
  border: 2px solid #340faa;
}
CSS variables
:root {
  --color-primary: #340faa;
  --color-primary-rgb: 52 15 170;
  --color-primary-hsl: 254 84% 36%;
}
Gradient
.gradient-340faa {
  background: linear-gradient(135deg, #340faa, #810faa);
}
Colored shadow
.shadow-340faa {
  box-shadow: 0 8px 24px rgb(52 15 170 / 0.35);
}

Zaffre
#340faa  rgb(52, 15, 170)  hsl(254, 84%, 36%)  Zaffre
#85aa0f  rgb(133, 170, 15)  hsl(74, 84%, 36%)  Apple Green
#aa340f  rgb(170, 52, 15)  hsl(14, 84%, 36%)  Rufous
#0faa34  rgb(15, 170, 52)  hsl(134, 84%, 36%)  Kelly Green