#40256D

#40256d ≈ Persian Indigo

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

#40256d is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 25.1% red, 14.51% green and 42.75% blue; printed in CMYK it uses 41.28% cyan, 66.06% magenta, 0% yellow and 57.25% black. Its hue angle is 262.5°, with 49.32% saturation and 28.63% 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 12.33:1 (WCAG AAA). The closest named color is Persian Indigo (#32127a), ΔE 5.99.

Description generated from the measured properties of this color.

Conversions of #40256d 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.0352

Readable text 12.33:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.7:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #353535 ≈ 0.003% of males
Achromatomaly #3a2f51 ≈ 0.001% of males
Protanopia #00356f ≈ 1.01% of males
Deuteranopia #00346b ≈ 1.27% of males
Tritanopia #353545 ≈ 0.0001% of males
Protanomaly #252f6e ≈ 1.08% of males
Deuteranomaly #272e6c ≈ 4.63% of males
Tritanomaly #3a2f58 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-40256d {
  color: #40256d;
}
Background
.bg-40256d {
  background-color: #40256d;
  color: #ffffff;
}
Border
.border-40256d {
  border: 2px solid #40256d;
}
CSS variables
:root {
  --color-primary: #40256d;
  --color-primary-rgb: 64 37 109;
  --color-primary-hsl: 263 49% 29%;
}
Gradient
.gradient-40256d {
  background: linear-gradient(135deg, #40256d, #64256d);
}
Colored shadow
.shadow-40256d {
  box-shadow: 0 8px 24px rgb(64 37 109 / 0.35);
}

Persian Indigo
#40256d  rgb(64, 37, 109)  hsl(263, 49%, 29%)  Persian Indigo
#526d25  rgb(82, 109, 37)  hsl(83, 49%, 29%)  Dark Olive Green
#6d4025  rgb(109, 64, 37)  hsl(23, 49%, 29%)  Coffee
#256d40  rgb(37, 109, 64)  hsl(143, 49%, 29%)  Cadmium Green