#6304CD

#6304cd ≈ Han Purple

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

#6304cd is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 38.82% red, 1.57% green and 80.39% blue; printed in CMYK it uses 51.71% cyan, 98.05% magenta, 0% yellow and 19.61% black. Its hue angle is 268.36°, 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.64:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 5.97.

Description generated from the measured properties of this color.

Conversions of #6304cd 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.0715

Readable text 8.64:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.43:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4c4c4c ≈ 0.003% of males
Achromatomaly #563b92 ≈ 0.001% of males
Protanopia #004ed2 ≈ 1.01% of males
Deuteranopia #0048ca ≈ 1.27% of males
Tritanopia #3e5178 ≈ 0.0001% of males
Protanomaly #003dd0 ≈ 1.08% of males
Deuteranomaly #0038cb ≈ 4.63% of males
Tritanomaly #4f3fa1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Han Purple
#6304cd  rgb(99, 4, 205)  hsl(268, 96%, 41%)  Han Purple
#6ecd04  rgb(110, 205, 4)  hsl(88, 96%, 41%)  Yellow Green
#cd6304  rgb(205, 99, 4)  hsl(28, 96%, 41%)  Chocolate
#04cd63  rgb(4, 205, 99)  hsl(148, 96%, 41%)  Emerald