#310A42

#310a42 ≈ Persian Indigo

  • magenta
  • Lightness: very low
  • Saturation: muted
  • Cool

#310a42 is a color from the magenta family, with very low lightness and muted saturation. In the RGB model it is made of 19.22% red, 3.92% green and 25.88% blue; printed in CMYK it uses 25.76% cyan, 84.85% magenta, 0% yellow and 74.12% black. Its hue angle is 281.79°, with 73.68% saturation and 14.9% lightness in HSL. It is a cool color, often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and luxury branding. White text on this color reaches a contrast ratio of 16.76:1 (WCAG AAA). The closest named color is Persian Indigo (#32127a), ΔE 11.13.

Description generated from the measured properties of this color.

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

Readable text 16.76:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.25:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #1e1e1e ≈ 0.003% of males
Achromatomaly #271730 ≈ 0.001% of males
Protanopia #001c44 ≈ 1.01% of males
Deuteranopia #051e41 ≈ 1.27% of males
Tritanopia #2f1725 ≈ 0.0001% of males
Protanomaly #1a1643 ≈ 1.08% of males
Deuteranomaly #1e1841 ≈ 4.63% of males
Tritanomaly #301333 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-310a42 {
  color: #310a42;
}
Background
.bg-310a42 {
  background-color: #310a42;
  color: #ffffff;
}
Border
.border-310a42 {
  border: 2px solid #310a42;
}
CSS variables
:root {
  --color-primary: #310a42;
  --color-primary-rgb: 49 10 66;
  --color-primary-hsl: 282 74% 15%;
}
Gradient
.gradient-310a42 {
  background: linear-gradient(135deg, #310a42, #420a37);
}
Colored shadow
.shadow-310a42 {
  box-shadow: 0 8px 24px rgb(49 10 66 / 0.35);
}

Persian Indigo
#310a42  rgb(49, 10, 66)  hsl(282, 74%, 15%)  Persian Indigo
#1b420a  rgb(27, 66, 10)  hsl(102, 74%, 15%)  Lincoln Green
#42310a  rgb(66, 49, 10)  hsl(42, 74%, 15%)  Bistre
#0a4231  rgb(10, 66, 49)  hsl(162, 74%, 15%)  British Racing Green