#6A45BA

#6a45ba ≈ Ocean Blue

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

#6a45ba is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 41.57% red, 27.06% green and 72.94% blue; printed in CMYK it uses 43.01% cyan, 62.9% magenta, 0% yellow and 27.06% black. Its hue angle is 258.97°, with 45.88% saturation and 50% 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.62:1 (WCAG AA). The closest named color is Ocean Blue (#4f42b5), ΔE 4.73.

Description generated from the measured properties of this color.

Conversions of #6a45ba 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.1087

Readable text 6.62:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.17:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5d5d5d ≈ 0.003% of males
Achromatomaly #62548c ≈ 0.001% of males
Protanopia #005ebe ≈ 1.01% of males
Deuteranopia #005bb8 ≈ 1.27% of males
Tritanopia #546079 ≈ 0.0001% of males
Protanomaly #3e55bc ≈ 1.08% of males
Deuteranomaly #4153b9 ≈ 4.63% of males
Tritanomaly #5e5697 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-6a45ba {
  color: #6a45ba;
}
Background
.bg-6a45ba {
  background-color: #6a45ba;
  color: #ffffff;
}
Border
.border-6a45ba {
  border: 2px solid #6a45ba;
}
CSS variables
:root {
  --color-primary: #6a45ba;
  --color-primary-rgb: 106 69 186;
  --color-primary-hsl: 259 46% 50%;
}
Gradient
.gradient-6a45ba {
  background: linear-gradient(135deg, #6a45ba, #a445ba);
}
Colored shadow
.shadow-6a45ba {
  box-shadow: 0 8px 24px rgb(106 69 186 / 0.35);
}

Ocean Blue
#6a45ba  rgb(106, 69, 186)  hsl(259, 46%, 50%)  Ocean Blue
#95ba45  rgb(149, 186, 69)  hsl(79, 46%, 50%)  Apple Green
#ba6a45  rgb(186, 106, 69)  hsl(19, 46%, 50%)  Chocolate
#45ba6a  rgb(69, 186, 106)  hsl(139, 46%, 50%)  Medium Sea Green