#340DAD

#340dad ≈ Zaffre

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

#340dad 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 67.84% blue; printed in CMYK it uses 69.94% cyan, 92.49% magenta, 0% yellow and 32.16% black. Its hue angle is 254.63°, with 86.02% saturation and 36.47% 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.62:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 3.24.

Description generated from the measured properties of this color.

Conversions of #340dad 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.0404

Readable text 11.62:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.81:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #393939 ≈ 0.003% of males
Achromatomaly #372d79 ≈ 0.001% of males
Protanopia #003eb1 ≈ 1.01% of males
Deuteranopia #0032ab ≈ 1.27% of males
Tritanopia #004765 ≈ 0.0001% of males
Protanomaly #0031af ≈ 1.08% of males
Deuteranomaly #0028ac ≈ 4.63% of males
Tritanomaly #003888 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-340dad {
  color: #340dad;
}
Background
.bg-340dad {
  background-color: #340dad;
  color: #ffffff;
}
Border
.border-340dad {
  border: 2px solid #340dad;
}
CSS variables
:root {
  --color-primary: #340dad;
  --color-primary-rgb: 52 13 173;
  --color-primary-hsl: 255 86% 36%;
}
Gradient
.gradient-340dad {
  background: linear-gradient(135deg, #340dad, #840dad);
}
Colored shadow
.shadow-340dad {
  box-shadow: 0 8px 24px rgb(52 13 173 / 0.35);
}

Zaffre
#340dad  rgb(52, 13, 173)  hsl(255, 86%, 36%)  Zaffre
#86ad0d  rgb(134, 173, 13)  hsl(75, 86%, 36%)  Apple Green
#ad340d  rgb(173, 52, 13)  hsl(15, 86%, 36%)  Rust
#0dad34  rgb(13, 173, 52)  hsl(135, 86%, 36%)  Kelly Green