#331B95

#331b95 ≈ Zaffre

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

#331b95 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 58.43% blue; printed in CMYK it uses 65.77% cyan, 81.88% magenta, 0% yellow and 41.57% black. Its hue angle is 251.8°, with 69.32% saturation and 34.51% 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.13:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 3.87.

Description generated from the measured properties of this color.

Conversions of #331b95 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.0366

Readable text 12.13:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.73:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #363636 ≈ 0.003% of males
Achromatomaly #352d69 ≈ 0.001% of males
Protanopia #003a98 ≈ 1.01% of males
Deuteranopia #003193 ≈ 1.27% of males
Tritanopia #004059 ≈ 0.0001% of males
Protanomaly #003097 ≈ 1.08% of males
Deuteranomaly #002a94 ≈ 4.63% of males
Tritanomaly #113576 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Zaffre
#331b95  rgb(51, 27, 149)  hsl(252, 69%, 35%)  Zaffre
#7d951b  rgb(125, 149, 27)  hsl(72, 69%, 35%)  Olive Drab
#95331b  rgb(149, 51, 27)  hsl(12, 69%, 35%)  Kobe
#1b9533  rgb(27, 149, 51)  hsl(132, 69%, 35%)  Forest Green