#6704CD

#6704cd ≈ Han Purple

  • violet
  • Lightness: medium
  • Saturation: vivid
  • Cool

#6704cd is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 40.39% red, 1.57% green and 80.39% blue; printed in CMYK it uses 49.76% cyan, 98.05% magenta, 0% yellow and 19.61% black. Its hue angle is 269.55°, with 96.17% saturation and 40.98% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 8.48:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 6.02.

Description generated from the measured properties of this color.

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

Readable text 8.48:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.48:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4d4d4d ≈ 0.003% of males
Achromatomaly #583c92 ≈ 0.001% of males
Protanopia #004ed2 ≈ 1.01% of males
Deuteranopia #004aca ≈ 1.27% of males
Tritanopia #465078 ≈ 0.0001% of males
Protanomaly #003dd0 ≈ 1.08% of males
Deuteranomaly #0439cb ≈ 4.63% of males
Tritanomaly #553ea1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-6704cd {
  color: #6704cd;
}
Background
.bg-6704cd {
  background-color: #6704cd;
  color: #ffffff;
}
Border
.border-6704cd {
  border: 2px solid #6704cd;
}
CSS variables
:root {
  --color-primary: #6704cd;
  --color-primary-rgb: 103 4 205;
  --color-primary-hsl: 270 96% 41%;
}
Gradient
.gradient-6704cd {
  background: linear-gradient(135deg, #6704cd, #cb04cd);
}
Colored shadow
.shadow-6704cd {
  box-shadow: 0 8px 24px rgb(103 4 205 / 0.35);
}

Han Purple
#6704cd  rgb(103, 4, 205)  hsl(270, 96%, 41%)  Han Purple
#6acd04  rgb(106, 205, 4)  hsl(90, 96%, 41%)  Lime Green
#cd6704  rgb(205, 103, 4)  hsl(30, 96%, 41%)  Chocolate
#04cd67  rgb(4, 205, 103)  hsl(150, 96%, 41%)  Emerald