#240D7F

#240d7f ≈ Persian Indigo

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

#240d7f is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 14.12% red, 5.1% green and 49.8% blue; printed in CMYK it uses 71.65% cyan, 89.76% magenta, 0% yellow and 50.2% black. Its hue angle is 252.11°, with 81.43% saturation and 27.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 luxury branding. White text on this color reaches a contrast ratio of 14.59:1 (WCAG AAA). The closest named color is Persian Indigo (#32127a), ΔE 2.19.

Description generated from the measured properties of this color.

Conversions of #240d7f 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.022

Readable text 14.59:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.44:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #292929 ≈ 0.003% of males
Achromatomaly #272058 ≈ 0.001% of males
Protanopia #002d82 ≈ 1.01% of males
Deuteranopia #00247d ≈ 1.27% of males
Tritanopia #003349 ≈ 0.0001% of males
Protanomaly #002481 ≈ 1.08% of males
Deuteranomaly #001d7e ≈ 4.63% of males
Tritanomaly #002963 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-240d7f {
  color: #240d7f;
}
Background
.bg-240d7f {
  background-color: #240d7f;
  color: #ffffff;
}
Border
.border-240d7f {
  border: 2px solid #240d7f;
}
CSS variables
:root {
  --color-primary: #240d7f;
  --color-primary-rgb: 36 13 127;
  --color-primary-hsl: 252 81% 27%;
}
Gradient
.gradient-240d7f {
  background: linear-gradient(135deg, #240d7f, #5d0d7f);
}
Colored shadow
.shadow-240d7f {
  box-shadow: 0 8px 24px rgb(36 13 127 / 0.35);
}

Persian Indigo
#240d7f  rgb(36, 13, 127)  hsl(252, 81%, 27%)  Persian Indigo
#687f0d  rgb(104, 127, 13)  hsl(72, 81%, 27%)  Avocado
#7f240d  rgb(127, 36, 13)  hsl(12, 81%, 27%)  Kobe
#0d7f24  rgb(13, 127, 36)  hsl(132, 81%, 27%)  Green