#6a45ba ≈ Ocean Blue
#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.
| 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 luminance | 0.1087 |
Shades
#6a45ba mixed progressively with black.
Tints
#6a45ba mixed progressively with white.
Tones
#6a45ba mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-6a45ba {
color: #6a45ba;
}
.bg-6a45ba {
background-color: #6a45ba;
color: #ffffff;
}
.border-6a45ba {
border: 2px solid #6a45ba;
}
:root {
--color-primary: #6a45ba;
--color-primary-rgb: 106 69 186;
--color-primary-hsl: 259 46% 50%;
}
.gradient-6a45ba {
background: linear-gradient(135deg, #6a45ba, #a445ba);
}
.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