#331A9F

#331a9f ≈ Zaffre

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

#331a9f 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 62.35% blue; printed in CMYK it uses 67.92% cyan, 83.65% magenta, 0% yellow and 37.65% black. Its hue angle is 251.28°, with 71.89% saturation and 36.27% 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.74:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 3.16.

Description generated from the measured properties of this color.

Conversions of #331a9f 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.0395

Readable text 11.74:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.79:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #383838 ≈ 0.003% of males
Achromatomaly #362e70 ≈ 0.001% of males
Protanopia #003da3 ≈ 1.01% of males
Deuteranopia #00339d ≈ 1.27% of males
Tritanopia #00445e ≈ 0.0001% of males
Protanomaly #0032a1 ≈ 1.08% of males
Deuteranomaly #002b9e ≈ 4.63% of males
Tritanomaly #02387d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Zaffre
#331a9f  rgb(51, 26, 159)  hsl(251, 72%, 36%)  Zaffre
#869f1a  rgb(134, 159, 26)  hsl(71, 72%, 36%)  Apple Green
#9f331a  rgb(159, 51, 26)  hsl(11, 72%, 36%)  Rufous
#1a9f33  rgb(26, 159, 51)  hsl(131, 72%, 36%)  Islamic Green