#331A9B

#331a9b ≈ Zaffre

  • violet
  • Lightness: low
  • Saturation: strong
  • Cool

#331a9b is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 20% red, 10.2% green and 60.78% blue; printed in CMYK it uses 67.1% cyan, 83.23% magenta, 0% yellow and 39.22% black. Its hue angle is 251.63°, with 71.27% saturation and 35.49% 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 brand accents. White text on this color reaches a contrast ratio of 11.92:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 3.36.

Description generated from the measured properties of this color.

Conversions of #331a9b 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.0381

Readable text 11.92:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.76:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #373737 ≈ 0.003% of males
Achromatomaly #352e6d ≈ 0.001% of males
Protanopia #003b9e ≈ 1.01% of males
Deuteranopia #003299 ≈ 1.27% of males
Tritanopia #00435c ≈ 0.0001% of males
Protanomaly #00319d ≈ 1.08% of males
Deuteranomaly #002a9a ≈ 4.63% of males
Tritanomaly #08367a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Zaffre
#331a9b  rgb(51, 26, 155)  hsl(252, 71%, 35%)  Zaffre
#829b1a  rgb(130, 155, 26)  hsl(72, 71%, 35%)  Olive Drab
#9b331a  rgb(155, 51, 26)  hsl(12, 71%, 35%)  Rufous
#1a9b33  rgb(26, 155, 51)  hsl(132, 71%, 35%)  Islamic Green