#340DAA

#340daa ≈ Zaffre

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

#340daa 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.1% green and 66.67% blue; printed in CMYK it uses 69.41% cyan, 92.35% magenta, 0% yellow and 33.33% black. Its hue angle is 254.9°, with 85.79% 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.77:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 3.16.

Description generated from the measured properties of this color.

Conversions of #340daa 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.0392

Readable text 11.77:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.78:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #383838 ≈ 0.003% of males
Achromatomaly #362c77 ≈ 0.001% of males
Protanopia #003dae ≈ 1.01% of males
Deuteranopia #0032a8 ≈ 1.27% of males
Tritanopia #004663 ≈ 0.0001% of males
Protanomaly #0030ac ≈ 1.08% of males
Deuteranomaly #0027a9 ≈ 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-340daa {
  color: #340daa;
}
Background
.bg-340daa {
  background-color: #340daa;
  color: #ffffff;
}
Border
.border-340daa {
  border: 2px solid #340daa;
}
CSS variables
:root {
  --color-primary: #340daa;
  --color-primary-rgb: 52 13 170;
  --color-primary-hsl: 255 86% 36%;
}
Gradient
.gradient-340daa {
  background: linear-gradient(135deg, #340daa, #820daa);
}
Colored shadow
.shadow-340daa {
  box-shadow: 0 8px 24px rgb(52 13 170 / 0.35);
}

Zaffre
#340daa  rgb(52, 13, 170)  hsl(255, 86%, 36%)  Zaffre
#83aa0d  rgb(131, 170, 13)  hsl(75, 86%, 36%)  Apple Green
#aa340d  rgb(170, 52, 13)  hsl(15, 86%, 36%)  Rufous
#0daa34  rgb(13, 170, 52)  hsl(135, 86%, 36%)  Kelly Green