#340F71

#340f71 ≈ Persian Indigo

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

#340f71 is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 20.39% red, 5.88% green and 44.31% blue; printed in CMYK it uses 53.98% cyan, 86.73% magenta, 0% yellow and 55.69% black. Its hue angle is 262.65°, with 76.56% saturation and 25.1% 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.45:1 (WCAG AAA). The closest named color is Persian Indigo (#32127a), ΔE 1.66.

Description generated from the measured properties of this color.

Conversions of #340f71 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.0226

Readable text 14.45:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.45:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #292929 ≈ 0.003% of males
Achromatomaly #2e2150 ≈ 0.001% of males
Protanopia #002b74 ≈ 1.01% of males
Deuteranopia #00276f ≈ 1.27% of males
Tritanopia #1e2d41 ≈ 0.0001% of males
Protanomaly #002273 ≈ 1.08% of males
Deuteranomaly #042070 ≈ 4.63% of males
Tritanomaly #282458 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-340f71 {
  color: #340f71;
}
Background
.bg-340f71 {
  background-color: #340f71;
  color: #ffffff;
}
Border
.border-340f71 {
  border: 2px solid #340f71;
}
CSS variables
:root {
  --color-primary: #340f71;
  --color-primary-rgb: 52 15 113;
  --color-primary-hsl: 263 77% 25%;
}
Gradient
.gradient-340f71 {
  background: linear-gradient(135deg, #340f71, #650f71);
}
Colored shadow
.shadow-340f71 {
  box-shadow: 0 8px 24px rgb(52 15 113 / 0.35);
}

Persian Indigo
#340f71  rgb(52, 15, 113)  hsl(263, 77%, 25%)  Persian Indigo
#4c710f  rgb(76, 113, 15)  hsl(83, 77%, 25%)  Sap Green
#71340f  rgb(113, 52, 15)  hsl(23, 77%, 25%)  Russet
#0f7134  rgb(15, 113, 52)  hsl(143, 77%, 25%)  Cadmium Green