HSL(277, 39%, 31%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(277,39%,31%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(277, 39%, 31%) | color: hsl(277, 39%, 31%) | |
| HEX | #56306E | color: #56306E | |
| RGB | rgb(86, 48, 110) | color: rgb(86, 48, 110) | |
| CMYK | cmyk(22%, 56%, 0%, 57%) | — | |
| HSV | hsv(277, 56%, 43%) | — | |
| HWB | hwb(277 19% 57%) | color: hwb(277 19% 57%) | |
| OKLCH | oklch(0.3861 0.1083 310.6) | color: oklch(0.3861 0.1083 310.6) | |
| Lab | lab(27.35 29.59 -29.35) | color: lab(27.35 29.59 -29.35) | |
| LCH | lch(27.35 41.68 315.23) | color: lch(27.35 41.68 315.23) |
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)
#46455F — rgb(70, 69, 95)
Deuteranopia (Green-blind)
#484B5B — rgb(72, 75, 91)
Tritanopia (Blue-blind)
#545351 — rgb(84, 83, 81)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(277, 39%, 31%);
text
color: hsl(277, 39%, 31%);
border
border: 2px solid hsl(277, 39%, 31%);
gradient light
background: linear-gradient(to right, hsl(277, 39%, 51%), hsl(277, 39%, 31%));
gradient dark
background: linear-gradient(to right, hsl(277, 39%, 31%), hsl(277, 39%, 11%))
hex
background-color: #56306E;
tailwind
bg-[hsl(277,39%,31%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(277, 39%, 31%, 0.4);
css variable
--color-primary: hsl(277, 39%, 31%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(277, 39%, 31%)?
HEX: #56306E | RGB: rgb(86, 48, 110) | CMYK: 22%, 56%, 0%, 57% | HSV: 277°, 56%, 43%. Copy any format from the conversion table above.
What colors go well with #56306E?
The complementary color is HSL(97, 39%, 31%). For a triadic harmony, use hues 277°, 37°, and 157°. For analogous combinations, try hues 247° and 307°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(277, 39%, 31%) in CSS?
As HSL: color: hsl(277, 39%, 31%); — As HEX: color: #56306E; — As RGB: color: rgb(86, 48, 110); — Tailwind CSS: bg-[hsl(277,39%,31%)] — CSS variable: --color-primary: hsl(277, 39%, 31%);