#6312E2

#6312e2 ≈ Han Purple

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

#6312e2 is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 38.82% red, 7.06% green and 88.63% blue; printed in CMYK it uses 56.19% cyan, 92.04% magenta, 0% yellow and 11.37% black. Its hue angle is 263.37°, with 85.25% saturation and 47.84% 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 7.73:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 3.13.

Description generated from the measured properties of this color.

Conversions of #6312e2 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.0858

Readable text 7.73:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.72:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #535353 ≈ 0.003% of males
Achromatomaly #5a42a1 ≈ 0.001% of males
Protanopia #0057e7 ≈ 1.01% of males
Deuteranopia #004ddf ≈ 1.27% of males
Tritanopia #275c85 ≈ 0.0001% of males
Protanomaly #0045e5 ≈ 1.08% of males
Deuteranomaly #003ee0 ≈ 4.63% of males
Tritanomaly #4649b2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-6312e2 {
  color: #6312e2;
}
Background
.bg-6312e2 {
  background-color: #6312e2;
  color: #ffffff;
}
Border
.border-6312e2 {
  border: 2px solid #6312e2;
}
CSS variables
:root {
  --color-primary: #6312e2;
  --color-primary-rgb: 99 18 226;
  --color-primary-hsl: 263 85% 48%;
}
Gradient
.gradient-6312e2 {
  background: linear-gradient(135deg, #6312e2, #cb12e2);
}
Colored shadow
.shadow-6312e2 {
  box-shadow: 0 8px 24px rgb(99 18 226 / 0.35);
}

Han Purple
#6312e2  rgb(99, 18, 226)  hsl(263, 85%, 48%)  Han Purple
#91e212  rgb(145, 226, 18)  hsl(83, 85%, 48%)  Inchworm
#e26312  rgb(226, 99, 18)  hsl(23, 85%, 48%)  Persimmon
#12e263  rgb(18, 226, 99)  hsl(143, 85%, 48%)  Malachite