#381EA1

#381ea1 ≈ Zaffre

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

#381ea1 is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 21.96% red, 11.76% green and 63.14% blue; printed in CMYK it uses 65.22% cyan, 81.37% magenta, 0% yellow and 36.86% black. Its hue angle is 251.91°, with 68.59% saturation and 37.45% 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.24:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 3.84.

Description generated from the measured properties of this color.

Conversions of #381ea1 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.0434

Readable text 11.24:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.87:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #3b3b3b ≈ 0.003% of males
Achromatomaly #3a3172 ≈ 0.001% of males
Protanopia #003fa5 ≈ 1.01% of males
Deuteranopia #00369f ≈ 1.27% of males
Tritanopia #004660 ≈ 0.0001% of males
Protanomaly #0035a3 ≈ 1.08% of males
Deuteranomaly #002ea0 ≈ 4.63% of males
Tritanomaly #143a7f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-381ea1 {
  color: #381ea1;
}
Background
.bg-381ea1 {
  background-color: #381ea1;
  color: #ffffff;
}
Border
.border-381ea1 {
  border: 2px solid #381ea1;
}
CSS variables
:root {
  --color-primary: #381ea1;
  --color-primary-rgb: 56 30 161;
  --color-primary-hsl: 252 69% 37%;
}
Gradient
.gradient-381ea1 {
  background: linear-gradient(135deg, #381ea1, #7a1ea1);
}
Colored shadow
.shadow-381ea1 {
  box-shadow: 0 8px 24px rgb(56 30 161 / 0.35);
}

Zaffre
#381ea1  rgb(56, 30, 161)  hsl(252, 69%, 37%)  Zaffre
#87a11e  rgb(135, 161, 30)  hsl(72, 69%, 37%)  Apple Green
#a1381e  rgb(161, 56, 30)  hsl(12, 69%, 37%)  Rufous
#1ea138  rgb(30, 161, 56)  hsl(132, 69%, 37%)  Islamic Green