#6331EA

#6331ea ≈ Han Purple

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

#6331ea is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 38.82% red, 19.22% green and 91.76% blue; printed in CMYK it uses 57.69% cyan, 79.06% magenta, 0% yellow and 8.24% black. Its hue angle is 256.22°, with 81.5% saturation and 55.49% 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 6.65:1 (WCAG AA). The closest named color is Han Purple (#5218fa), ΔE 3.53.

Description generated from the measured properties of this color.

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

Readable text 6.65:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.16:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5c5c5c ≈ 0.003% of males
Achromatomaly #5f4ea8 ≈ 0.001% of males
Protanopia #0061ef ≈ 1.01% of males
Deuteranopia #0057e7 ≈ 1.27% of males
Tritanopia #14698e ≈ 0.0001% of males
Protanomaly #0052ed ≈ 1.08% of males
Deuteranomaly #004ae8 ≈ 4.63% of males
Tritanomaly #4257ba ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-6331ea {
  color: #6331ea;
}
Background
.bg-6331ea {
  background-color: #6331ea;
  color: #ffffff;
}
Border
.border-6331ea {
  border: 2px solid #6331ea;
}
CSS variables
:root {
  --color-primary: #6331ea;
  --color-primary-rgb: 99 49 234;
  --color-primary-hsl: 256 82% 55%;
}
Gradient
.gradient-6331ea {
  background: linear-gradient(135deg, #6331ea, #c031ea);
}
Colored shadow
.shadow-6331ea {
  box-shadow: 0 8px 24px rgb(99 49 234 / 0.35);
}

Han Purple
#6331ea  rgb(99, 49, 234)  hsl(256, 82%, 55%)  Han Purple
#b8ea31  rgb(184, 234, 49)  hsl(76, 82%, 55%)  Inchworm
#ea6331  rgb(234, 99, 49)  hsl(16, 82%, 55%)  Flame
#31ea63  rgb(49, 234, 99)  hsl(136, 82%, 55%)  Malachite