#2F155F

#2f155f ≈ Persian Indigo

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

#2f155f is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 18.43% red, 8.24% green and 37.25% blue; printed in CMYK it uses 50.53% cyan, 77.89% magenta, 0% yellow and 62.75% black. Its hue angle is 261.08°, with 63.79% saturation and 22.75% 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 luxury branding. White text on this color reaches a contrast ratio of 15.07:1 (WCAG AAA). The closest named color is Persian Indigo (#32127a), ΔE 4.94.

Description generated from the measured properties of this color.

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

Readable text 15.07:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.39:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #262626 ≈ 0.003% of males
Achromatomaly #2a2044 ≈ 0.001% of males
Protanopia #002761 ≈ 1.01% of males
Deuteranopia #00255e ≈ 1.27% of males
Tritanopia #202838 ≈ 0.0001% of males
Protanomaly #0f2160 ≈ 1.08% of males
Deuteranomaly #121f5e ≈ 4.63% of males
Tritanomaly #27224b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2f155f {
  color: #2f155f;
}
Background
.bg-2f155f {
  background-color: #2f155f;
  color: #ffffff;
}
Border
.border-2f155f {
  border: 2px solid #2f155f;
}
CSS variables
:root {
  --color-primary: #2f155f;
  --color-primary-rgb: 47 21 95;
  --color-primary-hsl: 261 64% 23%;
}
Gradient
.gradient-2f155f {
  background: linear-gradient(135deg, #2f155f, #54155f);
}
Colored shadow
.shadow-2f155f {
  box-shadow: 0 8px 24px rgb(47 21 95 / 0.35);
}

Persian Indigo
#2f155f  rgb(47, 21, 95)  hsl(261, 64%, 23%)  Persian Indigo
#455f15  rgb(69, 95, 21)  hsl(81, 64%, 23%)  Dark Olive Green
#5f2f15  rgb(95, 47, 21)  hsl(21, 64%, 23%)  Caput Mortuum
#155f2f  rgb(21, 95, 47)  hsl(141, 64%, 23%)  Cadmium Green