#400255

#400255 ≈ Indigo

  • magenta
  • Lightness: very low
  • Saturation: moderate
  • Cool

#400255 is a color from the magenta family, with very low lightness and moderate saturation. In the RGB model it is made of 25.1% red, 0.78% green and 33.33% blue; printed in CMYK it uses 24.71% cyan, 97.65% magenta, 0% yellow and 66.67% black. Its hue angle is 284.82°, with 95.4% saturation and 17.06% lightness in HSL. It is a cool color, often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and luxury branding. White text on this color reaches a contrast ratio of 15.47:1 (WCAG AAA). The closest named color is Indigo (#4b0082), ΔE 7.87.

Description generated from the measured properties of this color.

Conversions of #400255 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.0179

Readable text 15.47:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.36:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #242424 ≈ 0.003% of males
Achromatomaly #311b3d ≈ 0.001% of males
Protanopia #002157 ≈ 1.01% of males
Deuteranopia #002653 ≈ 1.27% of males
Tritanopia #3e192f ≈ 0.0001% of males
Protanomaly #201956 ≈ 1.08% of males
Deuteranomaly #261c54 ≈ 4.63% of males
Tritanomaly #3f1241 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-400255 {
  color: #400255;
}
Background
.bg-400255 {
  background-color: #400255;
  color: #ffffff;
}
Border
.border-400255 {
  border: 2px solid #400255;
}
CSS variables
:root {
  --color-primary: #400255;
  --color-primary-rgb: 64 2 85;
  --color-primary-hsl: 285 95% 17%;
}
Gradient
.gradient-400255 {
  background: linear-gradient(135deg, #400255, #550241);
}
Colored shadow
.shadow-400255 {
  box-shadow: 0 8px 24px rgb(64 2 85 / 0.35);
}

Indigo
#400255  rgb(64, 2, 85)  hsl(285, 95%, 17%)  Indigo
#175502  rgb(23, 85, 2)  hsl(105, 95%, 17%)  Lincoln Green
#554002  rgb(85, 64, 2)  hsl(45, 95%, 17%)  Field Drab
#025540  rgb(2, 85, 64)  hsl(165, 95%, 17%)  British Racing Green