#331A5F

#331a5f ≈ Persian Indigo

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

#331a5f is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 20% red, 10.2% green and 37.25% blue; printed in CMYK it uses 46.32% cyan, 72.63% magenta, 0% yellow and 62.75% black. Its hue angle is 261.74°, with 57.02% saturation and 23.73% 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 14.45:1 (WCAG AAA). The closest named color is Persian Indigo (#32127a), ΔE 5.65.

Description generated from the measured properties of this color.

Conversions of #331a5f 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.0227

Readable text 14.45:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.45:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #2a2a2a ≈ 0.003% of males
Achromatomaly #2e2445 ≈ 0.001% of males
Protanopia #002a61 ≈ 1.01% of males
Deuteranopia #00285e ≈ 1.27% of males
Tritanopia #272b3a ≈ 0.0001% of males
Protanomaly #172560 ≈ 1.08% of males
Deuteranomaly #1a235e ≈ 4.63% of males
Tritanomaly #2c254b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-331a5f {
  color: #331a5f;
}
Background
.bg-331a5f {
  background-color: #331a5f;
  color: #ffffff;
}
Border
.border-331a5f {
  border: 2px solid #331a5f;
}
CSS variables
:root {
  --color-primary: #331a5f;
  --color-primary-rgb: 51 26 95;
  --color-primary-hsl: 262 57% 24%;
}
Gradient
.gradient-331a5f {
  background: linear-gradient(135deg, #331a5f, #561a5f);
}
Colored shadow
.shadow-331a5f {
  box-shadow: 0 8px 24px rgb(51 26 95 / 0.35);
}

Persian Indigo
#331a5f  rgb(51, 26, 95)  hsl(262, 57%, 24%)  Persian Indigo
#465f1a  rgb(70, 95, 26)  hsl(82, 57%, 24%)  Dark Olive Green
#5f331a  rgb(95, 51, 26)  hsl(22, 57%, 24%)  Sepia
#1a5f33  rgb(26, 95, 51)  hsl(142, 57%, 24%)  Cadmium Green