#38206e
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 | #38206e | |
| RGB | rgb(56 32 110) | |
| HSL | hsl(258.46 54.93% 27.84%) | |
| OKLCH | oklch(0.32 0.13 291.86) | |
| CMYK | cmyk(49.09% 70.91% 0% 56.86%) | |
| Android | #ff38206e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
13.12:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.59: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="#38206e"
Gradient stop
<stop stop-color="#38206e"/>
CSS variable + fill
:root { --c: #38206e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #38206e; background-color: #38206e; bg-[#38206e]