#40186F

#40186f ≈ Persian Indigo

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

#40186f is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 25.1% red, 9.41% green and 43.53% blue; printed in CMYK it uses 42.34% cyan, 78.38% magenta, 0% yellow and 56.47% black. Its hue angle is 267.59°, with 64.44% saturation and 26.47% 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 13.31:1 (WCAG AAA). The closest named color is Persian Indigo (#32127a), ΔE 3.75.

Description generated from the measured properties of this color.

Conversions of #40186f 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.0289

Readable text 13.31:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.58:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #2f2f2f ≈ 0.003% of males
Achromatomaly #372850 ≈ 0.001% of males
Protanopia #002f71 ≈ 1.01% of males
Deuteranopia #002f6d ≈ 1.27% of males
Tritanopia #352f42 ≈ 0.0001% of males
Protanomaly #1c2870 ≈ 1.08% of males
Deuteranomaly #20276e ≈ 4.63% of males
Tritanomaly #3a2758 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-40186f {
  color: #40186f;
}
Background
.bg-40186f {
  background-color: #40186f;
  color: #ffffff;
}
Border
.border-40186f {
  border: 2px solid #40186f;
}
CSS variables
:root {
  --color-primary: #40186f;
  --color-primary-rgb: 64 24 111;
  --color-primary-hsl: 268 64% 26%;
}
Gradient
.gradient-40186f {
  background: linear-gradient(135deg, #40186f, #6c186f);
}
Colored shadow
.shadow-40186f {
  box-shadow: 0 8px 24px rgb(64 24 111 / 0.35);
}

Persian Indigo
#40186f  rgb(64, 24, 111)  hsl(268, 64%, 26%)  Persian Indigo
#476f18  rgb(71, 111, 24)  hsl(88, 64%, 26%)  Dark Olive Green
#6f4018  rgb(111, 64, 24)  hsl(28, 64%, 26%)  Sepia
#186f40  rgb(24, 111, 64)  hsl(148, 64%, 26%)  Cadmium Green