#31168A

#31168a ≈ Persian Indigo

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

#31168a is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 19.22% red, 8.63% green and 54.12% blue; printed in CMYK it uses 64.49% cyan, 84.06% magenta, 0% yellow and 45.88% black. Its hue angle is 253.97°, with 72.5% 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 13.02:1 (WCAG AAA). The closest named color is Persian Indigo (#32127a), ΔE 2.58.

Description generated from the measured properties of this color.

Conversions of #31168a 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.0306

Readable text 13.02:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.61:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #313131 ≈ 0.003% of males
Achromatomaly #312861 ≈ 0.001% of males
Protanopia #00358d ≈ 1.01% of males
Deuteranopia #002d88 ≈ 1.27% of males
Tritanopia #003a51 ≈ 0.0001% of males
Protanomaly #002b8c ≈ 1.08% of males
Deuteranomaly #002589 ≈ 4.63% of males
Tritanomaly #162f6c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-31168a {
  color: #31168a;
}
Background
.bg-31168a {
  background-color: #31168a;
  color: #ffffff;
}
Border
.border-31168a {
  border: 2px solid #31168a;
}
CSS variables
:root {
  --color-primary: #31168a;
  --color-primary-rgb: 49 22 138;
  --color-primary-hsl: 254 73% 31%;
}
Gradient
.gradient-31168a {
  background: linear-gradient(135deg, #31168a, #6b168a);
}
Colored shadow
.shadow-31168a {
  box-shadow: 0 8px 24px rgb(49 22 138 / 0.35);
}

Persian Indigo
#31168a  rgb(49, 22, 138)  hsl(254, 73%, 31%)  Persian Indigo
#6f8a16  rgb(111, 138, 22)  hsl(74, 73%, 31%)  Olive Drab
#8a3116  rgb(138, 49, 22)  hsl(14, 73%, 31%)  Kobe
#168a31  rgb(22, 138, 49)  hsl(134, 73%, 31%)  Forest Green