#642DDD

#642ddd ≈ Han Purple

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

#642ddd is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 39.22% red, 17.65% green and 86.67% blue; printed in CMYK it uses 54.75% cyan, 79.64% magenta, 0% yellow and 13.33% black. Its hue angle is 258.75°, with 72.13% saturation and 52.16% 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 7.09:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 3.81.

Description generated from the measured properties of this color.

Conversions of #642ddd 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.0981

Readable text 7.09:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.96:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #585858 ≈ 0.003% of males
Achromatomaly #5d4a9f ≈ 0.001% of males
Protanopia #005ce2 ≈ 1.01% of males
Deuteranopia #0054da ≈ 1.27% of males
Tritanopia #2f6286 ≈ 0.0001% of males
Protanomaly #004de0 ≈ 1.08% of males
Deuteranomaly #0047db ≈ 4.63% of males
Tritanomaly #4a51b0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-642ddd {
  color: #642ddd;
}
Background
.bg-642ddd {
  background-color: #642ddd;
  color: #ffffff;
}
Border
.border-642ddd {
  border: 2px solid #642ddd;
}
CSS variables
:root {
  --color-primary: #642ddd;
  --color-primary-rgb: 100 45 221;
  --color-primary-hsl: 259 72% 52%;
}
Gradient
.gradient-642ddd {
  background: linear-gradient(135deg, #642ddd, #bc2ddd);
}
Colored shadow
.shadow-642ddd {
  box-shadow: 0 8px 24px rgb(100 45 221 / 0.35);
}

Han Purple
#642ddd  rgb(100, 45, 221)  hsl(259, 72%, 52%)  Han Purple
#a6dd2d  rgb(166, 221, 45)  hsl(79, 72%, 52%)  Yellow Green
#dd642d  rgb(221, 100, 45)  hsl(19, 72%, 52%)  Flame
#2ddd64  rgb(45, 221, 100)  hsl(139, 72%, 52%)  Malachite