HSL(278, 52%, 39%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(278,52%,39%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(278, 52%, 39%) | color: hsl(278, 52%, 39%) | |
| HEX | #713097 | color: #713097 | |
| RGB | rgb(113, 48, 151) | color: rgb(113, 48, 151) | |
| CMYK | cmyk(25%, 68%, 0%, 41%) | — | |
| HSV | hsv(278, 68%, 59%) | — | |
| HWB | hwb(278 19% 41%) | color: hwb(278 19% 41%) | |
| OKLCH | oklch(0.4486 0.1653 310.38) | color: oklch(0.4486 0.1653 310.38) | |
| Lab | lab(33.69 46.39 -44.59) | color: lab(33.69 46.39 -44.59) | |
| LCH | lch(33.69 64.35 316.13) | color: lch(33.69 64.35 316.13) |
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)
#55547E — rgb(85, 84, 126)
Deuteranopia (Green-blind)
#595E78 — rgb(89, 94, 120)
Tritanopia (Blue-blind)
#6E6A66 — rgb(110, 106, 102)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(278, 52%, 39%);
text
color: hsl(278, 52%, 39%);
border
border: 2px solid hsl(278, 52%, 39%);
gradient light
background: linear-gradient(to right, hsl(278, 52%, 59%), hsl(278, 52%, 39%));
gradient dark
background: linear-gradient(to right, hsl(278, 52%, 39%), hsl(278, 52%, 19%))
hex
background-color: #713097;
tailwind
bg-[hsl(278,52%,39%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(278, 52%, 39%, 0.4);
css variable
--color-primary: hsl(278, 52%, 39%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(278, 52%, 39%)?
HEX: #713097 | RGB: rgb(113, 48, 151) | CMYK: 25%, 68%, 0%, 41% | HSV: 278°, 68%, 59%. Copy any format from the conversion table above.
What colors go well with #713097?
The complementary color is HSL(98, 52%, 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, 52%, 39%) in CSS?
As HSL: color: hsl(278, 52%, 39%); — As HEX: color: #713097; — As RGB: color: rgb(113, 48, 151); — Tailwind CSS: bg-[hsl(278,52%,39%)] — CSS variable: --color-primary: hsl(278, 52%, 39%);