HSL(278, 65%, 39%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(278,65%,39%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(278, 65%, 39%) | color: hsl(278, 65%, 39%) | |
| HEX | #7523A4 | color: #7523A4 | |
| RGB | rgb(117, 35, 164) | color: rgb(117, 35, 164) | |
| CMYK | cmyk(29%, 79%, 0%, 36%) | — | |
| HSV | hsv(278, 79%, 64%) | — | |
| HWB | hwb(278 13% 36%) | color: hwb(278 13% 36%) | |
| OKLCH | oklch(0.4499 0.195 309.36) | color: oklch(0.4499 0.195 309.36) | |
| Lab | lab(33.27 55.61 -53.11) | color: lab(33.27 55.61 -53.11) | |
| LCH | lch(33.27 76.9 316.32) | color: lch(33.27 76.9 316.32) |
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)
#515185 — rgb(81, 81, 133)
Deuteranopia (Green-blind)
#565C7D — rgb(86, 92, 125)
Tritanopia (Blue-blind)
#716C67 — rgb(113, 108, 103)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(278, 65%, 39%);
text
color: hsl(278, 65%, 39%);
border
border: 2px solid hsl(278, 65%, 39%);
gradient light
background: linear-gradient(to right, hsl(278, 65%, 59%), hsl(278, 65%, 39%));
gradient dark
background: linear-gradient(to right, hsl(278, 65%, 39%), hsl(278, 65%, 19%))
hex
background-color: #7523A4;
tailwind
bg-[hsl(278,65%,39%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(278, 65%, 39%, 0.4);
css variable
--color-primary: hsl(278, 65%, 39%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(278, 65%, 39%)?
HEX: #7523A4 | RGB: rgb(117, 35, 164) | CMYK: 29%, 79%, 0%, 36% | HSV: 278°, 79%, 64%. Copy any format from the conversion table above.
What colors go well with #7523A4?
The complementary color is HSL(98, 65%, 39%). For a triadic harmony, use hues 278°, 38°, and 158°. For analogous combinations, try hues 248° and 308°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(278, 65%, 39%) in CSS?
As HSL: color: hsl(278, 65%, 39%); — As HEX: color: #7523A4; — As RGB: color: rgb(117, 35, 164); — Tailwind CSS: bg-[hsl(278,65%,39%)] — CSS variable: --color-primary: hsl(278, 65%, 39%);