#40286C

#40286c ≈ Persian Indigo

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

#40286c is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 25.1% red, 15.69% green and 42.35% blue; printed in CMYK it uses 40.74% cyan, 62.96% magenta, 0% yellow and 57.65% black. Its hue angle is 261.18°, with 45.95% saturation and 29.02% 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.08:1 (WCAG AAA). The closest named color is Persian Indigo (#32127a), ΔE 6.85.

Description generated from the measured properties of this color.

Conversions of #40286c 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.0369

Readable text 12.08:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.74:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #363636 ≈ 0.003% of males
Achromatomaly #3a3151 ≈ 0.001% of males
Protanopia #00366e ≈ 1.01% of males
Deuteranopia #0a356b ≈ 1.27% of males
Tritanopia #353746 ≈ 0.0001% of males
Protanomaly #27316d ≈ 1.08% of males
Deuteranomaly #29306b ≈ 4.63% of males
Tritanomaly #3a3157 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-40286c {
  color: #40286c;
}
Background
.bg-40286c {
  background-color: #40286c;
  color: #ffffff;
}
Border
.border-40286c {
  border: 2px solid #40286c;
}
CSS variables
:root {
  --color-primary: #40286c;
  --color-primary-rgb: 64 40 108;
  --color-primary-hsl: 261 46% 29%;
}
Gradient
.gradient-40286c {
  background: linear-gradient(135deg, #40286c, #62286c);
}
Colored shadow
.shadow-40286c {
  box-shadow: 0 8px 24px rgb(64 40 108 / 0.35);
}

Persian Indigo
#40286c  rgb(64, 40, 108)  hsl(261, 46%, 29%)  Persian Indigo
#546c28  rgb(84, 108, 40)  hsl(81, 46%, 29%)  Dark Olive Green
#6c4028  rgb(108, 64, 40)  hsl(21, 46%, 29%)  Coffee
#286c40  rgb(40, 108, 64)  hsl(141, 46%, 29%)  Cadmium Green