#340A6F

#340a6f ≈ Persian Indigo

  • violet
  • Lightness: low
  • Saturation: moderate
  • Cool

#340a6f is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 20.39% red, 3.92% green and 43.53% blue; printed in CMYK it uses 53.15% cyan, 90.99% magenta, 0% yellow and 56.47% black. Its hue angle is 264.95°, with 83.47% saturation and 23.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 luxury branding. White text on this color reaches a contrast ratio of 14.8:1 (WCAG AAA). The closest named color is Persian Indigo (#32127a), ΔE 2.25.

Description generated from the measured properties of this color.

Conversions of #340a6f into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#330066
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0209

Readable text 14.8:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.42:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #282828 ≈ 0.003% of males
Achromatomaly #2d1f4e ≈ 0.001% of males
Protanopia #002972 ≈ 1.01% of males
Deuteranopia #00266d ≈ 1.27% of males
Tritanopia #202a40 ≈ 0.0001% of males
Protanomaly #002071 ≈ 1.08% of males
Deuteranomaly #041e6e ≈ 4.63% of males
Tritanomaly #292156 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-340a6f {
  color: #340a6f;
}
Background
.bg-340a6f {
  background-color: #340a6f;
  color: #ffffff;
}
Border
.border-340a6f {
  border: 2px solid #340a6f;
}
CSS variables
:root {
  --color-primary: #340a6f;
  --color-primary-rgb: 52 10 111;
  --color-primary-hsl: 265 83% 24%;
}
Gradient
.gradient-340a6f {
  background: linear-gradient(135deg, #340a6f, #670a6f);
}
Colored shadow
.shadow-340a6f {
  box-shadow: 0 8px 24px rgb(52 10 111 / 0.35);
}

Persian Indigo
#340a6f  rgb(52, 10, 111)  hsl(265, 83%, 24%)  Persian Indigo
#456f0a  rgb(69, 111, 10)  hsl(85, 83%, 24%)  Sap Green
#6f340a  rgb(111, 52, 10)  hsl(25, 83%, 24%)  Sepia
#0a6f34  rgb(10, 111, 52)  hsl(145, 83%, 24%)  Cadmium Green