HSL(277, 75%, 49%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(277,75%,49%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(277, 75%, 49%) | color: hsl(277, 75%, 49%) | |
| HEX | #931FDB | color: #931FDB | |
| RGB | rgb(147, 31, 219) | color: rgb(147, 31, 219) | |
| CMYK | cmyk(33%, 86%, 0%, 14%) | — | |
| HSV | hsv(277, 86%, 86%) | — | |
| HWB | hwb(277 12% 14%) | color: hwb(277 12% 14%) | |
| OKLCH | oklch(0.5311 0.2544 306.75) | color: oklch(0.5311 0.2544 306.75) | |
| Lab | lab(41.69 73.02 -71.53) | color: lab(41.69 73.02 -71.53) | |
| LCH | lch(41.69 102.22 315.59) | color: lch(41.69 102.22 315.59) |
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)
#6160AE — rgb(97, 96, 174)
Deuteranopia (Green-blind)
#6870A3 — rgb(104, 112, 163)
Tritanopia (Blue-blind)
#8D8A82 — rgb(141, 138, 130)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(277, 75%, 49%);
text
color: hsl(277, 75%, 49%);
border
border: 2px solid hsl(277, 75%, 49%);
gradient light
background: linear-gradient(to right, hsl(277, 75%, 69%), hsl(277, 75%, 49%));
gradient dark
background: linear-gradient(to right, hsl(277, 75%, 49%), hsl(277, 75%, 29%))
hex
background-color: #931FDB;
tailwind
bg-[hsl(277,75%,49%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(277, 75%, 49%, 0.4);
css variable
--color-primary: hsl(277, 75%, 49%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(277, 75%, 49%)?
HEX: #931FDB | RGB: rgb(147, 31, 219) | CMYK: 33%, 86%, 0%, 14% | HSV: 277°, 86%, 86%. Copy any format from the conversion table above.
What colors go well with #931FDB?
The complementary color is HSL(97, 75%, 49%). 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, 75%, 49%) in CSS?
As HSL: color: hsl(277, 75%, 49%); — As HEX: color: #931FDB; — As RGB: color: rgb(147, 31, 219); — Tailwind CSS: bg-[hsl(277,75%,49%)] — CSS variable: --color-primary: hsl(277, 75%, 49%);