#5F45CD

#5f45cd ≈ Iris

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

#5f45cd is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 37.25% red, 27.06% green and 80.39% blue; printed in CMYK it uses 53.66% cyan, 66.34% magenta, 0% yellow and 19.61% black. Its hue angle is 251.47°, with 57.63% saturation and 53.73% 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 brand accents. White text on this color reaches a contrast ratio of 6.52:1 (WCAG AA). The closest named color is Iris (#5a4fcf), ΔE 2.93.

Description generated from the measured properties of this color.

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

Readable text 6.52:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.22:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5e5e5e ≈ 0.003% of males
Achromatomaly #5e5597 ≈ 0.001% of males
Protanopia #0061d1 ≈ 1.01% of males
Deuteranopia #0059ca ≈ 1.27% of males
Tritanopia #306783 ≈ 0.0001% of males
Protanomaly #2557d0 ≈ 1.08% of males
Deuteranomaly #2552cb ≈ 4.63% of males
Tritanomaly #475ba6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5f45cd {
  color: #5f45cd;
}
Background
.bg-5f45cd {
  background-color: #5f45cd;
  color: #ffffff;
}
Border
.border-5f45cd {
  border: 2px solid #5f45cd;
}
CSS variables
:root {
  --color-primary: #5f45cd;
  --color-primary-rgb: 95 69 205;
  --color-primary-hsl: 251 58% 54%;
}
Gradient
.gradient-5f45cd {
  background: linear-gradient(135deg, #5f45cd, #a345cd);
}
Colored shadow
.shadow-5f45cd {
  box-shadow: 0 8px 24px rgb(95 69 205 / 0.35);
}

Iris
#5f45cd  rgb(95, 69, 205)  hsl(251, 58%, 54%)  Iris
#b3cd45  rgb(179, 205, 69)  hsl(71, 58%, 54%)  June Bud
#cd5f45  rgb(205, 95, 69)  hsl(11, 58%, 54%)  Cinnabar
#45cd5f  rgb(69, 205, 95)  hsl(131, 58%, 54%)  Malachite