#331B8B

#331b8b ≈ Persian Indigo

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

#331b8b 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 54.51% blue; printed in CMYK it uses 63.31% cyan, 80.58% magenta, 0% yellow and 45.49% black. Its hue angle is 252.86°, with 67.47% saturation and 32.55% 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.57:1 (WCAG AAA). The closest named color is Persian Indigo (#32127a), ΔE 3.07.

Description generated from the measured properties of this color.

Conversions of #331b8b 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.0335

Readable text 12.57:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.67:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #333333 ≈ 0.003% of males
Achromatomaly #332b62 ≈ 0.001% of males
Protanopia #00378e ≈ 1.01% of males
Deuteranopia #002f89 ≈ 1.27% of males
Tritanopia #003c53 ≈ 0.0001% of males
Protanomaly #002e8d ≈ 1.08% of males
Deuteranomaly #00298a ≈ 4.63% of males
Tritanomaly #19326e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-331b8b {
  color: #331b8b;
}
Background
.bg-331b8b {
  background-color: #331b8b;
  color: #ffffff;
}
Border
.border-331b8b {
  border: 2px solid #331b8b;
}
CSS variables
:root {
  --color-primary: #331b8b;
  --color-primary-rgb: 51 27 139;
  --color-primary-hsl: 253 67% 33%;
}
Gradient
.gradient-331b8b {
  background: linear-gradient(135deg, #331b8b, #6b1b8b);
}
Colored shadow
.shadow-331b8b {
  box-shadow: 0 8px 24px rgb(51 27 139 / 0.35);
}

Persian Indigo
#331b8b  rgb(51, 27, 139)  hsl(253, 67%, 33%)  Persian Indigo
#738b1b  rgb(115, 139, 27)  hsl(73, 67%, 33%)  Olive Drab
#8b331b  rgb(139, 51, 27)  hsl(13, 67%, 33%)  Kobe
#1b8b33  rgb(27, 139, 51)  hsl(133, 67%, 33%)  Forest Green