HSL(272, 77%, 39%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(272,77%,39%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(272, 77%, 39%) | color: hsl(272, 77%, 39%) | |
| HEX | #6917B0 | color: #6917B0 | |
| RGB | rgb(105, 23, 176) | color: rgb(105, 23, 176) | |
| CMYK | cmyk(40%, 87%, 0%, 31%) | — | |
| HSV | hsv(272, 87%, 69%) | — | |
| HWB | hwb(272 9% 31%) | color: hwb(272 9% 31%) | |
| OKLCH | oklch(0.4352 0.2135 301.38) | color: oklch(0.4352 0.2135 301.38) | |
| Lab | lab(31.23 60.26 -63.73) | color: lab(31.23 60.26 -63.73) | |
| LCH | lch(31.23 87.71 313.4) | color: lch(31.23 87.71 313.4) |
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)
#45458B — rgb(69, 69, 139)
Deuteranopia (Green-blind)
#4A5082 — rgb(74, 80, 130)
Tritanopia (Blue-blind)
#656E67 — rgb(101, 110, 103)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(272, 77%, 39%);
text
color: hsl(272, 77%, 39%);
border
border: 2px solid hsl(272, 77%, 39%);
gradient light
background: linear-gradient(to right, hsl(272, 77%, 59%), hsl(272, 77%, 39%));
gradient dark
background: linear-gradient(to right, hsl(272, 77%, 39%), hsl(272, 77%, 19%))
hex
background-color: #6917B0;
tailwind
bg-[hsl(272,77%,39%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(272, 77%, 39%, 0.4);
css variable
--color-primary: hsl(272, 77%, 39%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(272, 77%, 39%)?
HEX: #6917B0 | RGB: rgb(105, 23, 176) | CMYK: 40%, 87%, 0%, 31% | HSV: 272°, 87%, 69%. Copy any format from the conversion table above.
What colors go well with #6917B0?
The complementary color is HSL(92, 77%, 39%). For a triadic harmony, use hues 272°, 32°, and 152°. For analogous combinations, try hues 242° and 302°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(272, 77%, 39%) in CSS?
As HSL: color: hsl(272, 77%, 39%); — As HEX: color: #6917B0; — As RGB: color: rgb(105, 23, 176); — Tailwind CSS: bg-[hsl(272,77%,39%)] — CSS variable: --color-primary: hsl(272, 77%, 39%);