#311F7B

#311f7b ≈ Persian Indigo

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

#311f7b is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 19.22% red, 12.16% green and 48.24% blue; printed in CMYK it uses 60.16% cyan, 74.8% magenta, 0% yellow and 51.76% black. Its hue angle is 251.74°, with 59.74% saturation and 30.2% 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 13.02:1 (WCAG AAA). The closest named color is Persian Indigo (#32127a), ΔE 2.84.

Description generated from the measured properties of this color.

Conversions of #311f7b into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#333366
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0306

Readable text 13.02:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.61:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #313131 ≈ 0.003% of males
Achromatomaly #312b58 ≈ 0.001% of males
Protanopia #00347e ≈ 1.01% of males
Deuteranopia #002e79 ≈ 1.27% of males
Tritanopia #07384b ≈ 0.0001% of males
Protanomaly #002d7d ≈ 1.08% of males
Deuteranomaly #00297a ≈ 4.63% of males
Tritanomaly #1f3062 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-311f7b {
  color: #311f7b;
}
Background
.bg-311f7b {
  background-color: #311f7b;
  color: #ffffff;
}
Border
.border-311f7b {
  border: 2px solid #311f7b;
}
CSS variables
:root {
  --color-primary: #311f7b;
  --color-primary-rgb: 49 31 123;
  --color-primary-hsl: 252 60% 30%;
}
Gradient
.gradient-311f7b {
  background: linear-gradient(135deg, #311f7b, #5f1f7b);
}
Colored shadow
.shadow-311f7b {
  box-shadow: 0 8px 24px rgb(49 31 123 / 0.35);
}

Persian Indigo
#311f7b  rgb(49, 31, 123)  hsl(252, 60%, 30%)  Persian Indigo
#697b1f  rgb(105, 123, 31)  hsl(72, 60%, 30%)  Avocado
#7b311f  rgb(123, 49, 31)  hsl(12, 60%, 30%)  Burnt Umber
#1f7b31  rgb(31, 123, 49)  hsl(132, 60%, 30%)  Green