#6F42BC

#6f42bc ≈ Ocean Blue

  • violet
  • Lightness: medium
  • Saturation: moderate
  • Cool

#6f42bc is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 43.53% red, 25.88% green and 73.73% blue; printed in CMYK it uses 40.96% cyan, 64.89% magenta, 0% yellow and 26.27% black. Its hue angle is 262.13°, with 48.03% saturation and 49.8% 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.6:1 (WCAG AA). The closest named color is Ocean Blue (#4f42b5), ΔE 5.64.

Description generated from the measured properties of this color.

Conversions of #6f42bc 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.1091

Readable text 6.6:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.18:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5d5d5d ≈ 0.003% of males
Achromatomaly #65538d ≈ 0.001% of males
Protanopia #005ec0 ≈ 1.01% of males
Deuteranopia #005bb9 ≈ 1.27% of males
Tritanopia #5b5e79 ≈ 0.0001% of males
Protanomaly #4054be ≈ 1.08% of males
Deuteranomaly #4452ba ≈ 4.63% of males
Tritanomaly #645498 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-6f42bc {
  color: #6f42bc;
}
Background
.bg-6f42bc {
  background-color: #6f42bc;
  color: #ffffff;
}
Border
.border-6f42bc {
  border: 2px solid #6f42bc;
}
CSS variables
:root {
  --color-primary: #6f42bc;
  --color-primary-rgb: 111 66 188;
  --color-primary-hsl: 262 48% 50%;
}
Gradient
.gradient-6f42bc {
  background: linear-gradient(135deg, #6f42bc, #ac42bc);
}
Colored shadow
.shadow-6f42bc {
  box-shadow: 0 8px 24px rgb(111 66 188 / 0.35);
}

Ocean Blue
#6f42bc  rgb(111, 66, 188)  hsl(262, 48%, 50%)  Ocean Blue
#8fbc42  rgb(143, 188, 66)  hsl(82, 48%, 50%)  Apple Green
#bc6f42  rgb(188, 111, 66)  hsl(22, 48%, 50%)  Copper
#42bc6f  rgb(66, 188, 111)  hsl(142, 48%, 50%)  Medium Sea Green