#40138D

#40138d ≈ Persian Indigo

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

#40138d is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 25.1% red, 7.45% green and 55.29% blue; printed in CMYK it uses 54.61% cyan, 86.52% magenta, 0% yellow and 44.71% black. Its hue angle is 262.13°, with 76.25% saturation and 31.37% 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.38:1 (WCAG AAA). The closest named color is Persian Indigo (#32127a), ΔE 3.38.

Description generated from the measured properties of this color.

Conversions of #40138d 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.0348

Readable text 12.38:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.7:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #343434 ≈ 0.003% of males
Achromatomaly #392a64 ≈ 0.001% of males
Protanopia #003690 ≈ 1.01% of males
Deuteranopia #00328b ≈ 1.27% of males
Tritanopia #223953 ≈ 0.0001% of males
Protanomaly #002c8f ≈ 1.08% of males
Deuteranomaly #00288c ≈ 4.63% of males
Tritanomaly #312e6f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-40138d {
  color: #40138d;
}
Background
.bg-40138d {
  background-color: #40138d;
  color: #ffffff;
}
Border
.border-40138d {
  border: 2px solid #40138d;
}
CSS variables
:root {
  --color-primary: #40138d;
  --color-primary-rgb: 64 19 141;
  --color-primary-hsl: 262 76% 31%;
}
Gradient
.gradient-40138d {
  background: linear-gradient(135deg, #40138d, #7d138d);
}
Colored shadow
.shadow-40138d {
  box-shadow: 0 8px 24px rgb(64 19 141 / 0.35);
}

Persian Indigo
#40138d  rgb(64, 19, 141)  hsl(262, 76%, 31%)  Persian Indigo
#608d13  rgb(96, 141, 19)  hsl(82, 76%, 31%)  Olive Drab
#8d4013  rgb(141, 64, 19)  hsl(22, 76%, 31%)  Saddle Brown
#138d40  rgb(19, 141, 64)  hsl(142, 76%, 31%)  Forest Green