#6a236f
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 | #6a236f | |
| RGB | rgb(106 35 111) | |
| HSL | hsl(296.05 52.05% 28.63%) | |
| OKLCH | oklch(0.4 0.14 325.07) | |
| CMYK | cmyk(4.5% 68.47% 0% 56.47%) | |
| Android | #ff6a236f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
10.08:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.08:1
Fail AA normal text
Fail 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="#6a236f"
Gradient stop
<stop stop-color="#6a236f"/>
CSS variable + fill
:root { --c: #6a236f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #6a236f; background-color: #6a236f; bg-[#6a236f]