#340B71

#340b71 ≈ Persian Indigo

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

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

Description generated from the measured properties of this color.

Conversions of #340b71 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.0216

Readable text 14.66:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.43:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #282828 ≈ 0.003% of males
Achromatomaly #2d204f ≈ 0.001% of males
Protanopia #002a74 ≈ 1.01% of males
Deuteranopia #00266f ≈ 1.27% of males
Tritanopia #1e2c41 ≈ 0.0001% of males
Protanomaly #002173 ≈ 1.08% of males
Deuteranomaly #011e70 ≈ 4.63% of males
Tritanomaly #292258 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Persian Indigo
#340b71  rgb(52, 11, 113)  hsl(264, 82%, 24%)  Persian Indigo
#48710b  rgb(72, 113, 11)  hsl(84, 82%, 24%)  Sap Green
#71340b  rgb(113, 52, 11)  hsl(24, 82%, 24%)  Russet
#0b7134  rgb(11, 113, 52)  hsl(144, 82%, 24%)  Cadmium Green