#331C7C

#331c7c ≈ Persian Indigo

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

#331c7c is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 20% red, 10.98% green and 48.63% blue; printed in CMYK it uses 58.87% cyan, 77.42% magenta, 0% yellow and 51.37% black. Its hue angle is 254.37°, with 63.16% saturation and 29.8% 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 luxury branding. White text on this color reaches a contrast ratio of 13.14:1 (WCAG AAA). The closest named color is Persian Indigo (#32127a), ΔE 2.03.

Description generated from the measured properties of this color.

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

Readable text 13.14:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.6:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #303030 ≈ 0.003% of males
Achromatomaly #312958 ≈ 0.001% of males
Protanopia #00337f ≈ 1.01% of males
Deuteranopia #002d7a ≈ 1.27% of males
Tritanopia #0f374b ≈ 0.0001% of males
Protanomaly #002b7e ≈ 1.08% of males
Deuteranomaly #00277b ≈ 4.63% of males
Tritanomaly #222e62 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-331c7c {
  color: #331c7c;
}
Background
.bg-331c7c {
  background-color: #331c7c;
  color: #ffffff;
}
Border
.border-331c7c {
  border: 2px solid #331c7c;
}
CSS variables
:root {
  --color-primary: #331c7c;
  --color-primary-rgb: 51 28 124;
  --color-primary-hsl: 254 63% 30%;
}
Gradient
.gradient-331c7c {
  background: linear-gradient(135deg, #331c7c, #631c7c);
}
Colored shadow
.shadow-331c7c {
  box-shadow: 0 8px 24px rgb(51 28 124 / 0.35);
}

Persian Indigo
#331c7c  rgb(51, 28, 124)  hsl(254, 63%, 30%)  Persian Indigo
#657c1c  rgb(101, 124, 28)  hsl(74, 63%, 30%)  Avocado
#7c331c  rgb(124, 51, 28)  hsl(14, 63%, 30%)  Kobe
#1c7c33  rgb(28, 124, 51)  hsl(134, 63%, 30%)  Green