#40285B

#40285b ≈ Persian Indigo

  • violet
  • Lightness: low
  • Saturation: muted
  • Cool

#40285b is a color from the violet family, with low lightness and muted saturation. In the RGB model it is made of 25.1% red, 15.69% green and 35.69% blue; printed in CMYK it uses 29.67% cyan, 56.04% magenta, 0% yellow and 64.31% black. Its hue angle is 268.24°, with 38.93% saturation and 25.69% 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.56:1 (WCAG AAA). The closest named color is Persian Indigo (#32127a), ΔE 10.23.

Description generated from the measured properties of this color.

Conversions of #40285b 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.0336

Readable text 12.56:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.67:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #333333 ≈ 0.003% of males
Achromatomaly #392f46 ≈ 0.001% of males
Protanopia #17335d ≈ 1.01% of males
Deuteranopia #1e335a ≈ 1.27% of males
Tritanopia #3b313d ≈ 0.0001% of males
Protanomaly #2d2f5c ≈ 1.08% of males
Deuteranomaly #2f2f5a ≈ 4.63% of males
Tritanomaly #3d2e4b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-40285b {
  color: #40285b;
}
Background
.bg-40285b {
  background-color: #40285b;
  color: #ffffff;
}
Border
.border-40285b {
  border: 2px solid #40285b;
}
CSS variables
:root {
  --color-primary: #40285b;
  --color-primary-rgb: 64 40 91;
  --color-primary-hsl: 268 39% 26%;
}
Gradient
.gradient-40285b {
  background: linear-gradient(135deg, #40285b, #5a285b);
}
Colored shadow
.shadow-40285b {
  box-shadow: 0 8px 24px rgb(64 40 91 / 0.35);
}

Persian Indigo
#40285b  rgb(64, 40, 91)  hsl(268, 39%, 26%)  Persian Indigo
#435b28  rgb(67, 91, 40)  hsl(88, 39%, 26%)  Army Green
#5b4028  rgb(91, 64, 40)  hsl(28, 39%, 26%)  Coffee
#285b40  rgb(40, 91, 64)  hsl(148, 39%, 26%)  Hunter Green