#331B81

#331b81 ≈ Persian Indigo

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

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

Description generated from the measured properties of this color.

Conversions of #331b81 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.0307

Readable text 13.01: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 #322a5c ≈ 0.001% of males
Protanopia #003484 ≈ 1.01% of males
Deuteranopia #002e7f ≈ 1.27% of males
Tritanopia #05384d ≈ 0.0001% of males
Protanomaly #002c83 ≈ 1.08% of males
Deuteranomaly #002780 ≈ 4.63% of males
Tritanomaly #202f66 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Persian Indigo
#331b81  rgb(51, 27, 129)  hsl(254, 65%, 31%)  Persian Indigo
#69811b  rgb(105, 129, 27)  hsl(74, 65%, 31%)  Avocado
#81331b  rgb(129, 51, 27)  hsl(14, 65%, 31%)  Kobe
#1b8133  rgb(27, 129, 51)  hsl(134, 65%, 31%)  Forest Green