HSL(266, 30%, 48%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(266,30%,48%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(266, 30%, 48%) | color: hsl(266, 30%, 48%) | |
| HEX | #76569F | color: #76569F | |
| RGB | rgb(118, 86, 159) | color: rgb(118, 86, 159) | |
| CMYK | cmyk(26%, 46%, 0%, 38%) | — | |
| HSV | hsv(266, 46%, 62%) | — | |
| HWB | hwb(266 33% 38%) | color: hwb(266 33% 38%) | |
| OKLCH | oklch(0.5184 0.1161 302.79) | color: oklch(0.5184 0.1161 302.79) | |
| Lab | lab(42.78 28.66 -34.88) | color: lab(42.78 28.66 -34.88) | |
| LCH | lch(42.78 45.14 309.41) | color: lch(42.78 45.14 309.41) |
Color Theory
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
Best text on this color: white
Color Blindness Simulation
Protanopia (Red-blind)
#68688D — rgb(104, 104, 141)
Deuteranopia (Green-blind)
#6A6C89 — rgb(106, 108, 137)
Tritanopia (Blue-blind)
#747F7C — rgb(116, 127, 124)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(266, 30%, 48%);
text
color: hsl(266, 30%, 48%);
border
border: 2px solid hsl(266, 30%, 48%);
gradient light
background: linear-gradient(to right, hsl(266, 30%, 68%), hsl(266, 30%, 48%));
gradient dark
background: linear-gradient(to right, hsl(266, 30%, 48%), hsl(266, 30%, 28%))
hex
background-color: #76569F;
tailwind
bg-[hsl(266,30%,48%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(266, 30%, 48%, 0.4);
css variable
--color-primary: hsl(266, 30%, 48%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(266, 30%, 48%)?
HEX: #76569F | RGB: rgb(118, 86, 159) | CMYK: 26%, 46%, 0%, 38% | HSV: 266°, 46%, 62%. Copy any format from the conversion table above.
What colors go well with #76569F?
The complementary color is HSL(86, 30%, 48%). For a triadic harmony, use hues 266°, 26°, and 146°. For analogous combinations, try hues 236° and 296°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(266, 30%, 48%) in CSS?
As HSL: color: hsl(266, 30%, 48%); — As HEX: color: #76569F; — As RGB: color: rgb(118, 86, 159); — Tailwind CSS: bg-[hsl(266,30%,48%)] — CSS variable: --color-primary: hsl(266, 30%, 48%);