#2E178F

#2e178f ≈ Persian Indigo

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

#2e178f 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 56.08% blue; printed in CMYK it uses 67.83% cyan, 83.92% magenta, 0% yellow and 43.92% black. Its hue angle is 251.5°, with 72.29% saturation and 32.55% 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 3.41.

Description generated from the measured properties of this color.

Conversions of #2e178f 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 #302965 ≈ 0.001% of males
Protanopia #003692 ≈ 1.01% of males
Deuteranopia #002d8d ≈ 1.27% of males
Tritanopia #003d54 ≈ 0.0001% of males
Protanomaly #002c91 ≈ 1.08% of males
Deuteranomaly #00268e ≈ 4.63% of males
Tritanomaly #053171 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Persian Indigo
#2e178f  rgb(46, 23, 143)  hsl(252, 72%, 33%)  Persian Indigo
#788f17  rgb(120, 143, 23)  hsl(72, 72%, 33%)  Olive Drab
#8f2e17  rgb(143, 46, 23)  hsl(12, 72%, 33%)  Kobe
#178f2e  rgb(23, 143, 46)  hsl(132, 72%, 33%)  Forest Green