#450f82
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 | #450f82 | |
| RGB | rgb(69 15 130) | |
| HSL | hsl(268.17 79.31% 28.43%) | |
| OKLCH | oklch(0.34 0.17 296.99) | |
| CMYK | cmyk(46.92% 88.46% 0% 49.02%) | |
| Android | #ff450f82 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
12.77:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.64: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="#450f82"
Gradient stop
<stop stop-color="#450f82"/>
CSS variable + fill
:root { --c: #450f82; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #450f82; background-color: #450f82; bg-[#450f82]