#340CA0

#340ca0 ≈ Zaffre

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

#340ca0 is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 20.39% red, 4.71% green and 62.75% blue; printed in CMYK it uses 67.5% cyan, 92.5% magenta, 0% yellow and 37.25% black. Its hue angle is 256.22°, with 86.05% saturation and 33.73% 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 corporate identities. White text on this color reaches a contrast ratio of 12.31:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 3.31.

Description generated from the measured properties of this color.

Conversions of #340ca0 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.0353

Readable text 12.31:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.71:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #353535 ≈ 0.003% of males
Achromatomaly #342970 ≈ 0.001% of males
Protanopia #003aa4 ≈ 1.01% of males
Deuteranopia #002f9e ≈ 1.27% of males
Tritanopia #00415d ≈ 0.0001% of males
Protanomaly #002da2 ≈ 1.08% of males
Deuteranomaly #00259f ≈ 4.63% of males
Tritanomaly #06337d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-340ca0 {
  color: #340ca0;
}
Background
.bg-340ca0 {
  background-color: #340ca0;
  color: #ffffff;
}
Border
.border-340ca0 {
  border: 2px solid #340ca0;
}
CSS variables
:root {
  --color-primary: #340ca0;
  --color-primary-rgb: 52 12 160;
  --color-primary-hsl: 256 86% 34%;
}
Gradient
.gradient-340ca0 {
  background: linear-gradient(135deg, #340ca0, #7e0ca0);
}
Colored shadow
.shadow-340ca0 {
  box-shadow: 0 8px 24px rgb(52 12 160 / 0.35);
}

Zaffre
#340ca0  rgb(52, 12, 160)  hsl(256, 86%, 34%)  Zaffre
#78a00c  rgb(120, 160, 12)  hsl(76, 86%, 34%)  Olive Drab
#a0340c  rgb(160, 52, 12)  hsl(16, 86%, 34%)  Rufous
#0ca034  rgb(12, 160, 52)  hsl(136, 86%, 34%)  Islamic Green