#402E5E

#402e5e ≈ Dark Slate Blue

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

#402e5e is a color from the violet family, with low lightness and muted saturation. In the RGB model it is made of 25.1% red, 18.04% green and 36.86% blue; printed in CMYK it uses 31.91% cyan, 51.06% magenta, 0% yellow and 63.14% black. Its hue angle is 262.5°, with 34.29% 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 11.86:1 (WCAG AAA). The closest named color is Dark Slate Blue (#483d8b), ΔE 9.3.

Description generated from the measured properties of this color.

Conversions of #402e5e 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.0385

Readable text 11.86:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.77:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #373737 ≈ 0.003% of males
Achromatomaly #3b344a ≈ 0.001% of males
Protanopia #1f3760 ≈ 1.01% of males
Deuteranopia #23375d ≈ 1.27% of males
Tritanopia #3a3741 ≈ 0.0001% of males
Protanomaly #2f345f ≈ 1.08% of males
Deuteranomaly #31345d ≈ 4.63% of males
Tritanomaly #3c334e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-402e5e {
  color: #402e5e;
}
Background
.bg-402e5e {
  background-color: #402e5e;
  color: #ffffff;
}
Border
.border-402e5e {
  border: 2px solid #402e5e;
}
CSS variables
:root {
  --color-primary: #402e5e;
  --color-primary-rgb: 64 46 94;
  --color-primary-hsl: 263 34% 27%;
}
Gradient
.gradient-402e5e {
  background: linear-gradient(135deg, #402e5e, #582e5e);
}
Colored shadow
.shadow-402e5e {
  box-shadow: 0 8px 24px rgb(64 46 94 / 0.35);
}

Dark Slate Blue
#402e5e  rgb(64, 46, 94)  hsl(263, 34%, 27%)  Dark Slate Blue
#4c5e2e  rgb(76, 94, 46)  hsl(83, 34%, 27%)  Army Green
#5e402e  rgb(94, 64, 46)  hsl(23, 34%, 27%)  Coffee
#2e5e40  rgb(46, 94, 64)  hsl(143, 34%, 27%)  Hunter Green