#6058fa
Codes, contrast, shades, harmonies and SVG snippets for this color.
- Codes
- Names & lists
- Contrast
- Shades & tints
- Harmonies
- Color-blindness
- SVG snippets
- CSS
- Related colors
Codes
| Format | Value | |
|---|---|---|
| HEX | #6058fa | |
| RGB | rgb(96 88 250) | |
| HSL | hsl(242.96 94.19% 66.27%) | |
| OKLCH | oklch(0.57 0.23 278.18) | |
| CMYK | cmyk(61.6% 64.8% 0% 1.96%) | |
| Android | #ff6058fa |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.91:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.27:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#6058fa"
Gradient stop
<stop stop-color="#6058fa"/>
CSS variable + fill
:root { --c: #6058fa; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #6058fa; background-color: #6058fa; bg-[#6058fa]