#34178A

#34178a ≈ Persian Indigo

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

#34178a is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 20.39% red, 9.02% green and 54.12% blue; printed in CMYK it uses 62.32% cyan, 83.33% magenta, 0% yellow and 45.88% black. Its hue angle is 255.13°, with 71.43% saturation and 31.57% 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 12.84:1 (WCAG AAA). The closest named color is Persian Indigo (#32127a), ΔE 2.6.

Description generated from the measured properties of this color.

Conversions of #34178a 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.0318

Readable text 12.84:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.64:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #323232 ≈ 0.003% of males
Achromatomaly #332961 ≈ 0.001% of males
Protanopia #00358d ≈ 1.01% of males
Deuteranopia #002e88 ≈ 1.27% of males
Tritanopia #003a51 ≈ 0.0001% of males
Protanomaly #002c8c ≈ 1.08% of males
Deuteranomaly #002789 ≈ 4.63% of males
Tritanomaly #1d306d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-34178a {
  color: #34178a;
}
Background
.bg-34178a {
  background-color: #34178a;
  color: #ffffff;
}
Border
.border-34178a {
  border: 2px solid #34178a;
}
CSS variables
:root {
  --color-primary: #34178a;
  --color-primary-rgb: 52 23 138;
  --color-primary-hsl: 255 71% 32%;
}
Gradient
.gradient-34178a {
  background: linear-gradient(135deg, #34178a, #6e178a);
}
Colored shadow
.shadow-34178a {
  box-shadow: 0 8px 24px rgb(52 23 138 / 0.35);
}

Persian Indigo
#34178a  rgb(52, 23, 138)  hsl(255, 71%, 32%)  Persian Indigo
#6d8a17  rgb(109, 138, 23)  hsl(75, 71%, 32%)  Olive Drab
#8a3417  rgb(138, 52, 23)  hsl(15, 71%, 32%)  Kobe
#178a34  rgb(23, 138, 52)  hsl(135, 71%, 32%)  Forest Green