#331B6A

#331b6a ≈ Persian Indigo

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

#331b6a 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 41.57% blue; printed in CMYK it uses 51.89% cyan, 74.53% magenta, 0% yellow and 58.43% black. Its hue angle is 258.23°, with 59.4% saturation and 26.08% 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.95:1 (WCAG AAA). The closest named color is Persian Indigo (#32127a), ΔE 3.7.

Description generated from the measured properties of this color.

Conversions of #331b6a 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.0253

Readable text 13.95:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.51:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #2c2c2c ≈ 0.003% of males
Achromatomaly #2f264c ≈ 0.001% of males
Protanopia #002d6c ≈ 1.01% of males
Deuteranopia #002a68 ≈ 1.27% of males
Tritanopia #212f40 ≈ 0.0001% of males
Protanomaly #11276b ≈ 1.08% of males
Deuteranomaly #132569 ≈ 4.63% of males
Tritanomaly #292954 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-331b6a {
  color: #331b6a;
}
Background
.bg-331b6a {
  background-color: #331b6a;
  color: #ffffff;
}
Border
.border-331b6a {
  border: 2px solid #331b6a;
}
CSS variables
:root {
  --color-primary: #331b6a;
  --color-primary-rgb: 51 27 106;
  --color-primary-hsl: 258 59% 26%;
}
Gradient
.gradient-331b6a {
  background: linear-gradient(135deg, #331b6a, #5b1b6a);
}
Colored shadow
.shadow-331b6a {
  box-shadow: 0 8px 24px rgb(51 27 106 / 0.35);
}

Persian Indigo
#331b6a  rgb(51, 27, 106)  hsl(258, 59%, 26%)  Persian Indigo
#526a1b  rgb(82, 106, 27)  hsl(78, 59%, 26%)  Dark Olive Green
#6a331b  rgb(106, 51, 27)  hsl(18, 59%, 26%)  Kobe
#1b6a33  rgb(27, 106, 51)  hsl(138, 59%, 26%)  Cadmium Green