#331E8A

#331e8a ≈ Persian Indigo

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

#331e8a is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 20% red, 11.76% green and 54.12% blue; printed in CMYK it uses 63.04% cyan, 78.26% magenta, 0% yellow and 45.88% black. Its hue angle is 251.67°, with 64.29% saturation and 32.94% 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.4:1 (WCAG AAA). The closest named color is Persian Indigo (#32127a), ΔE 3.34.

Description generated from the measured properties of this color.

Conversions of #331e8a 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.0347

Readable text 12.4:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.69:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #343434 ≈ 0.003% of males
Achromatomaly #342d62 ≈ 0.001% of males
Protanopia #00388d ≈ 1.01% of males
Deuteranopia #003088 ≈ 1.27% of males
Tritanopia #003d53 ≈ 0.0001% of males
Protanomaly #002f8c ≈ 1.08% of males
Deuteranomaly #002a89 ≈ 4.63% of males
Tritanomaly #1a336d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Persian Indigo
#331e8a  rgb(51, 30, 138)  hsl(252, 64%, 33%)  Persian Indigo
#758a1e  rgb(117, 138, 30)  hsl(72, 64%, 33%)  Olive Drab
#8a331e  rgb(138, 51, 30)  hsl(12, 64%, 33%)  Kobe
#1e8a33  rgb(30, 138, 51)  hsl(132, 64%, 33%)  Forest Green