#3E178C

#3e178c ≈ Persian Indigo

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

#3e178c is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 24.31% red, 9.02% green and 54.9% blue; printed in CMYK it uses 55.71% cyan, 83.57% magenta, 0% yellow and 45.1% black. Its hue angle is 260°, with 71.78% saturation and 31.96% 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.31:1 (WCAG AAA). The closest named color is Persian Indigo (#32127a), ΔE 3.2.

Description generated from the measured properties of this color.

Conversions of #3e178c 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.0353

Readable text 12.31:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.71:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #353535 ≈ 0.003% of males
Achromatomaly #392b63 ≈ 0.001% of males
Protanopia #00378f ≈ 1.01% of males
Deuteranopia #00328a ≈ 1.27% of males
Tritanopia #1e3a53 ≈ 0.0001% of males
Protanomaly #002d8e ≈ 1.08% of males
Deuteranomaly #00298b ≈ 4.63% of males
Tritanomaly #2e306e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-3e178c {
  color: #3e178c;
}
Background
.bg-3e178c {
  background-color: #3e178c;
  color: #ffffff;
}
Border
.border-3e178c {
  border: 2px solid #3e178c;
}
CSS variables
:root {
  --color-primary: #3e178c;
  --color-primary-rgb: 62 23 140;
  --color-primary-hsl: 260 72% 32%;
}
Gradient
.gradient-3e178c {
  background: linear-gradient(135deg, #3e178c, #78178c);
}
Colored shadow
.shadow-3e178c {
  box-shadow: 0 8px 24px rgb(62 23 140 / 0.35);
}

Persian Indigo
#3e178c  rgb(62, 23, 140)  hsl(260, 72%, 32%)  Persian Indigo
#658c17  rgb(101, 140, 23)  hsl(80, 72%, 32%)  Olive Drab
#8c3e17  rgb(140, 62, 23)  hsl(20, 72%, 32%)  Saddle Brown
#178c3e  rgb(23, 140, 62)  hsl(140, 72%, 32%)  Forest Green