#5D3CCC

#5d3ccc ≈ Ocean Blue

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

#5d3ccc is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 36.47% red, 23.53% green and 80% blue; printed in CMYK it uses 54.41% cyan, 70.59% magenta, 0% yellow and 20% black. Its hue angle is 253.75°, with 58.54% saturation and 51.76% 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 7.04:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 4.18.

Description generated from the measured properties of this color.

Conversions of #5d3ccc 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.0992

Readable text 7.04:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.98:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #595959 ≈ 0.003% of males
Achromatomaly #5a4f95 ≈ 0.001% of males
Protanopia #005cd0 ≈ 1.01% of males
Deuteranopia #0054c9 ≈ 1.27% of males
Tritanopia #2d6280 ≈ 0.0001% of males
Protanomaly #1651cf ≈ 1.08% of males
Deuteranomaly #174cca ≈ 4.63% of males
Tritanomaly #4555a4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5d3ccc {
  color: #5d3ccc;
}
Background
.bg-5d3ccc {
  background-color: #5d3ccc;
  color: #ffffff;
}
Border
.border-5d3ccc {
  border: 2px solid #5d3ccc;
}
CSS variables
:root {
  --color-primary: #5d3ccc;
  --color-primary-rgb: 93 60 204;
  --color-primary-hsl: 254 59% 52%;
}
Gradient
.gradient-5d3ccc {
  background: linear-gradient(135deg, #5d3ccc, #a53ccc);
}
Colored shadow
.shadow-5d3ccc {
  box-shadow: 0 8px 24px rgb(93 60 204 / 0.35);
}

Ocean Blue
#5d3ccc  rgb(93, 60, 204)  hsl(254, 59%, 52%)  Ocean Blue
#abcc3c  rgb(171, 204, 60)  hsl(74, 59%, 52%)  Yellow Green
#cc5d3c  rgb(204, 93, 60)  hsl(14, 59%, 52%)  Flame
#3ccc5d  rgb(60, 204, 93)  hsl(134, 59%, 52%)  Malachite