#2E178D

#2e178d ≈ Persian Indigo

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

#2e178d is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 18.04% red, 9.02% green and 55.29% blue; printed in CMYK it uses 67.38% cyan, 83.69% magenta, 0% yellow and 44.71% black. Its hue angle is 251.69°, with 71.95% saturation and 32.16% 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.94:1 (WCAG AAA). The closest named color is Persian Indigo (#32127a), ΔE 3.14.

Description generated from the measured properties of this color.

Conversions of #2e178d 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.0312

Readable text 12.94:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.62:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #313131 ≈ 0.003% of males
Achromatomaly #302963 ≈ 0.001% of males
Protanopia #003690 ≈ 1.01% of males
Deuteranopia #002d8b ≈ 1.27% of males
Tritanopia #003c53 ≈ 0.0001% of males
Protanomaly #002c8f ≈ 1.08% of males
Deuteranomaly #00268c ≈ 4.63% of males
Tritanomaly #08316f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2e178d {
  color: #2e178d;
}
Background
.bg-2e178d {
  background-color: #2e178d;
  color: #ffffff;
}
Border
.border-2e178d {
  border: 2px solid #2e178d;
}
CSS variables
:root {
  --color-primary: #2e178d;
  --color-primary-rgb: 46 23 141;
  --color-primary-hsl: 252 72% 32%;
}
Gradient
.gradient-2e178d {
  background: linear-gradient(135deg, #2e178d, #69178d);
}
Colored shadow
.shadow-2e178d {
  box-shadow: 0 8px 24px rgb(46 23 141 / 0.35);
}

Persian Indigo
#2e178d  rgb(46, 23, 141)  hsl(252, 72%, 32%)  Persian Indigo
#768d17  rgb(118, 141, 23)  hsl(72, 72%, 32%)  Olive Drab
#8d2e17  rgb(141, 46, 23)  hsl(12, 72%, 32%)  Kobe
#178d2e  rgb(23, 141, 46)  hsl(132, 72%, 32%)  Forest Green