#6E40CB

#6e40cb ≈ Iris

  • violet
  • Lightness: medium
  • Saturation: strong
  • Cool

#6e40cb is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 43.14% red, 25.1% green and 79.61% blue; printed in CMYK it uses 45.81% cyan, 68.47% magenta, 0% yellow and 20.39% black. Its hue angle is 259.86°, with 57.2% saturation and 52.35% 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 brand accents. White text on this color reaches a contrast ratio of 6.44:1 (WCAG AA). The closest named color is Iris (#5a4fcf), ΔE 5.28.

Description generated from the measured properties of this color.

Conversions of #6e40cb into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#6633cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1129

Readable text 6.44:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.26:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5e5e5e ≈ 0.003% of males
Achromatomaly #655496 ≈ 0.001% of males
Protanopia #0060cf ≈ 1.01% of males
Deuteranopia #005cc8 ≈ 1.27% of males
Tritanopia #526380 ≈ 0.0001% of males
Protanomaly #3555ce ≈ 1.08% of males
Deuteranomaly #3952c9 ≈ 4.63% of males
Tritanomaly #5f57a4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-6e40cb {
  color: #6e40cb;
}
Background
.bg-6e40cb {
  background-color: #6e40cb;
  color: #ffffff;
}
Border
.border-6e40cb {
  border: 2px solid #6e40cb;
}
CSS variables
:root {
  --color-primary: #6e40cb;
  --color-primary-rgb: 110 64 203;
  --color-primary-hsl: 260 57% 52%;
}
Gradient
.gradient-6e40cb {
  background: linear-gradient(135deg, #6e40cb, #b440cb);
}
Colored shadow
.shadow-6e40cb {
  box-shadow: 0 8px 24px rgb(110 64 203 / 0.35);
}

Iris
#6e40cb  rgb(110, 64, 203)  hsl(260, 57%, 52%)  Iris
#9dcb40  rgb(157, 203, 64)  hsl(80, 57%, 52%)  Yellow Green
#cb6e40  rgb(203, 110, 64)  hsl(20, 57%, 52%)  Chocolate
#40cb6e  rgb(64, 203, 110)  hsl(140, 57%, 52%)  Emerald