#381FA2

#381fa2 ≈ Zaffre

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

#381fa2 is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 21.96% red, 12.16% green and 63.53% blue; printed in CMYK it uses 65.43% cyan, 80.86% magenta, 0% yellow and 36.47% black. Its hue angle is 251.45°, with 67.88% saturation and 37.84% 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.14:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 3.9.

Description generated from the measured properties of this color.

Conversions of #381fa2 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.0443

Readable text 11.14:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.89:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #3b3b3b ≈ 0.003% of males
Achromatomaly #3a3273 ≈ 0.001% of males
Protanopia #0040a6 ≈ 1.01% of males
Deuteranopia #0036a0 ≈ 1.27% of males
Tritanopia #004761 ≈ 0.0001% of males
Protanomaly #0035a4 ≈ 1.08% of males
Deuteranomaly #002fa1 ≈ 4.63% of males
Tritanomaly #123b80 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-381fa2 {
  color: #381fa2;
}
Background
.bg-381fa2 {
  background-color: #381fa2;
  color: #ffffff;
}
Border
.border-381fa2 {
  border: 2px solid #381fa2;
}
CSS variables
:root {
  --color-primary: #381fa2;
  --color-primary-rgb: 56 31 162;
  --color-primary-hsl: 251 68% 38%;
}
Gradient
.gradient-381fa2 {
  background: linear-gradient(135deg, #381fa2, #791fa2);
}
Colored shadow
.shadow-381fa2 {
  box-shadow: 0 8px 24px rgb(56 31 162 / 0.35);
}

Zaffre
#381fa2  rgb(56, 31, 162)  hsl(251, 68%, 38%)  Zaffre
#89a21f  rgb(137, 162, 31)  hsl(71, 68%, 38%)  Apple Green
#a2381f  rgb(162, 56, 31)  hsl(11, 68%, 38%)  Rufous
#1fa238  rgb(31, 162, 56)  hsl(131, 68%, 38%)  Islamic Green