#331B9D

#331b9d ≈ Zaffre

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

#331b9d 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 61.57% blue; printed in CMYK it uses 67.52% cyan, 82.8% magenta, 0% yellow and 38.43% black. Its hue angle is 251.08°, with 70.65% saturation and 36.08% 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.77:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 3.3.

Description generated from the measured properties of this color.

Conversions of #331b9d 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.77: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 #362f6f ≈ 0.001% of males
Protanopia #003ca1 ≈ 1.01% of males
Deuteranopia #00339b ≈ 1.27% of males
Tritanopia #00445d ≈ 0.0001% of males
Protanomaly #00329f ≈ 1.08% of males
Deuteranomaly #002b9c ≈ 4.63% of males
Tritanomaly #05377c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Zaffre
#331b9d  rgb(51, 27, 157)  hsl(251, 71%, 36%)  Zaffre
#859d1b  rgb(133, 157, 27)  hsl(71, 71%, 36%)  Olive Drab
#9d331b  rgb(157, 51, 27)  hsl(11, 71%, 36%)  Rufous
#1b9d33  rgb(27, 157, 51)  hsl(131, 71%, 36%)  Islamic Green