#6338EA

#6338ea ≈ Han Purple

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

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

Description generated from the measured properties of this color.

Conversions of #6338ea 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.1142

Readable text 6.39:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.28:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5f5f5f ≈ 0.003% of males
Achromatomaly #6152a9 ≈ 0.001% of males
Protanopia #0064ef ≈ 1.01% of males
Deuteranopia #0059e7 ≈ 1.27% of males
Tritanopia #136b90 ≈ 0.0001% of males
Protanomaly #0056ed ≈ 1.08% of males
Deuteranomaly #004ee8 ≈ 4.63% of males
Tritanomaly #425bbb ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-6338ea {
  color: #6338ea;
}
Background
.bg-6338ea {
  background-color: #6338ea;
  color: #ffffff;
}
Border
.border-6338ea {
  border: 2px solid #6338ea;
}
CSS variables
:root {
  --color-primary: #6338ea;
  --color-primary-rgb: 99 56 234;
  --color-primary-hsl: 254 81% 57%;
}
Gradient
.gradient-6338ea {
  background: linear-gradient(135deg, #6338ea, #bc38ea);
}
Colored shadow
.shadow-6338ea {
  box-shadow: 0 8px 24px rgb(99 56 234 / 0.35);
}

Han Purple
#6338ea  rgb(99, 56, 234)  hsl(254, 81%, 57%)  Han Purple
#bfea38  rgb(191, 234, 56)  hsl(74, 81%, 57%)  Inchworm
#ea6338  rgb(234, 99, 56)  hsl(14, 81%, 57%)  Flame
#38ea63  rgb(56, 234, 99)  hsl(134, 81%, 57%)  Malachite