#331B9B

#331b9b ≈ Zaffre

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

#331b9b is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 20% red, 10.59% green and 60.78% blue; printed in CMYK it uses 67.1% cyan, 82.58% magenta, 0% yellow and 39.22% black. Its hue angle is 251.25°, with 70.33% saturation and 35.69% 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.86:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 3.41.

Description generated from the measured properties of this color.

Conversions of #331b9b 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.0385

Readable text 11.86:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.77:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #373737 ≈ 0.003% of males
Achromatomaly #362e6d ≈ 0.001% of males
Protanopia #003c9e ≈ 1.01% of males
Deuteranopia #003299 ≈ 1.27% of males
Tritanopia #00435c ≈ 0.0001% of males
Protanomaly #00329d ≈ 1.08% of males
Deuteranomaly #002b9a ≈ 4.63% of males
Tritanomaly #08377a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Zaffre
#331b9b  rgb(51, 27, 155)  hsl(251, 70%, 36%)  Zaffre
#839b1b  rgb(131, 155, 27)  hsl(71, 70%, 36%)  Olive Drab
#9b331b  rgb(155, 51, 27)  hsl(11, 70%, 36%)  Rufous
#1b9b33  rgb(27, 155, 51)  hsl(131, 70%, 36%)  Islamic Green