#340C8F

#340c8f ≈ Persian Indigo

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

#340c8f 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 56.08% blue; printed in CMYK it uses 63.64% cyan, 91.61% magenta, 0% yellow and 43.92% black. Its hue angle is 258.32°, with 84.52% saturation and 30.39% 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 13.16:1 (WCAG AAA). The closest named color is Persian Indigo (#32127a), ΔE 3.28.

Description generated from the measured properties of this color.

Conversions of #340c8f 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.0298

Readable text 13.16:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.6:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #303030 ≈ 0.003% of males
Achromatomaly #322664 ≈ 0.001% of males
Protanopia #003492 ≈ 1.01% of males
Deuteranopia #002c8d ≈ 1.27% of males
Tritanopia #003953 ≈ 0.0001% of males
Protanomaly #002991 ≈ 1.08% of males
Deuteranomaly #00238e ≈ 4.63% of males
Tritanomaly #192d70 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-340c8f {
  color: #340c8f;
}
Background
.bg-340c8f {
  background-color: #340c8f;
  color: #ffffff;
}
Border
.border-340c8f {
  border: 2px solid #340c8f;
}
CSS variables
:root {
  --color-primary: #340c8f;
  --color-primary-rgb: 52 12 143;
  --color-primary-hsl: 258 85% 30%;
}
Gradient
.gradient-340c8f {
  background: linear-gradient(135deg, #340c8f, #750c8f);
}
Colored shadow
.shadow-340c8f {
  box-shadow: 0 8px 24px rgb(52 12 143 / 0.35);
}

Persian Indigo
#340c8f  rgb(52, 12, 143)  hsl(258, 85%, 30%)  Persian Indigo
#678f0c  rgb(103, 143, 12)  hsl(78, 85%, 30%)  Olive Drab
#8f340c  rgb(143, 52, 12)  hsl(18, 85%, 30%)  Kobe
#0c8f34  rgb(12, 143, 52)  hsl(138, 85%, 30%)  Forest Green