#331F82

#331f82 ≈ Persian Indigo

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

#331f82 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.98% blue; printed in CMYK it uses 60.77% cyan, 76.15% magenta, 0% yellow and 49.02% black. Its hue angle is 252.12°, with 61.49% saturation and 31.57% 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.66:1 (WCAG AAA). The closest named color is Persian Indigo (#32127a), ΔE 2.88.

Description generated from the measured properties of this color.

Conversions of #331f82 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.033

Readable text 12.66:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.66:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #333333 ≈ 0.003% of males
Achromatomaly #332c5d ≈ 0.001% of males
Protanopia #003685 ≈ 1.01% of males
Deuteranopia #003080 ≈ 1.27% of males
Tritanopia #023b4f ≈ 0.0001% of males
Protanomaly #002e84 ≈ 1.08% of males
Deuteranomaly #002a81 ≈ 4.63% of males
Tritanomaly #1f3267 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Persian Indigo
#331f82  rgb(51, 31, 130)  hsl(252, 61%, 32%)  Persian Indigo
#6e821f  rgb(110, 130, 31)  hsl(72, 61%, 32%)  Olive Drab
#82331f  rgb(130, 51, 31)  hsl(12, 61%, 32%)  Kobe
#1f8233  rgb(31, 130, 51)  hsl(132, 61%, 32%)  Forest Green