#331F81

#331f81 ≈ Persian Indigo

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

#331f81 is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 20% red, 12.16% green and 50.59% blue; printed in CMYK it uses 60.47% cyan, 75.97% magenta, 0% yellow and 49.41% black. Its hue angle is 252.24°, with 61.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.7:1 (WCAG AAA). The closest named color is Persian Indigo (#32127a), ΔE 2.83.

Description generated from the measured properties of this color.

Conversions of #331f81 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#333399
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0327

Readable text 12.7:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.65:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #333333 ≈ 0.003% of males
Achromatomaly #332c5c ≈ 0.001% of males
Protanopia #003684 ≈ 1.01% of males
Deuteranopia #002f7f ≈ 1.27% of males
Tritanopia #043a4e ≈ 0.0001% of males
Protanomaly #002e83 ≈ 1.08% of males
Deuteranomaly #002a80 ≈ 4.63% of males
Tritanomaly #1f3166 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-331f81 {
  color: #331f81;
}
Background
.bg-331f81 {
  background-color: #331f81;
  color: #ffffff;
}
Border
.border-331f81 {
  border: 2px solid #331f81;
}
CSS variables
:root {
  --color-primary: #331f81;
  --color-primary-rgb: 51 31 129;
  --color-primary-hsl: 252 61% 31%;
}
Gradient
.gradient-331f81 {
  background: linear-gradient(135deg, #331f81, #641f81);
}
Colored shadow
.shadow-331f81 {
  box-shadow: 0 8px 24px rgb(51 31 129 / 0.35);
}

Persian Indigo
#331f81  rgb(51, 31, 129)  hsl(252, 61%, 31%)  Persian Indigo
#6d811f  rgb(109, 129, 31)  hsl(72, 61%, 31%)  Avocado
#81331f  rgb(129, 51, 31)  hsl(12, 61%, 31%)  Kobe
#1f8133  rgb(31, 129, 51)  hsl(132, 61%, 31%)  Forest Green