#331D9A

#331d9a ≈ Zaffre

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

#331d9a is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 20% red, 11.37% green and 60.39% blue; printed in CMYK it uses 66.88% cyan, 81.17% magenta, 0% yellow and 39.61% black. Its hue angle is 250.56°, with 68.31% saturation and 35.88% 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.78:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 3.59.

Description generated from the measured properties of this color.

Conversions of #331d9a 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.0392

Readable text 11.78:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.78:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #383838 ≈ 0.003% of males
Achromatomaly #362f6d ≈ 0.001% of males
Protanopia #003c9d ≈ 1.01% of males
Deuteranopia #003398 ≈ 1.27% of males
Tritanopia #00435c ≈ 0.0001% of males
Protanomaly #00329c ≈ 1.08% of males
Deuteranomaly #002b99 ≈ 4.63% of males
Tritanomaly #0a377a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Zaffre
#331d9a  rgb(51, 29, 154)  hsl(251, 68%, 36%)  Zaffre
#849a1d  rgb(132, 154, 29)  hsl(71, 68%, 36%)  Olive Drab
#9a331d  rgb(154, 51, 29)  hsl(11, 68%, 36%)  Kobe
#1d9a33  rgb(29, 154, 51)  hsl(131, 68%, 36%)  Islamic Green