#6331EB

#6331eb ≈ Han Purple

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

#6331eb 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 92.16% blue; printed in CMYK it uses 57.87% cyan, 79.15% magenta, 0% yellow and 7.84% black. Its hue angle is 256.13°, with 82.3% saturation and 55.69% 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.63:1 (WCAG AA). The closest named color is Han Purple (#5218fa), ΔE 3.52.

Description generated from the measured properties of this color.

Conversions of #6331eb 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.1085

Readable text 6.63:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.17:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5d5d5d ≈ 0.003% of males
Achromatomaly #5f4fa9 ≈ 0.001% of males
Protanopia #0062f0 ≈ 1.01% of males
Deuteranopia #0057e8 ≈ 1.27% of males
Tritanopia #11698f ≈ 0.0001% of males
Protanomaly #0052ee ≈ 1.08% of males
Deuteranomaly #004ae9 ≈ 4.63% of males
Tritanomaly #4158bb ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Han Purple
#6331eb  rgb(99, 49, 235)  hsl(256, 82%, 56%)  Han Purple
#b9eb31  rgb(185, 235, 49)  hsl(76, 82%, 56%)  Inchworm
#eb6331  rgb(235, 99, 49)  hsl(16, 82%, 56%)  Flame
#31eb63  rgb(49, 235, 99)  hsl(136, 82%, 56%)  Malachite