HSL(277, 100%, 61%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(277,100%,61%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(277, 100%, 61%) | color: hsl(277, 100%, 61%) | |
| HEX | #B338FF | color: #B338FF | |
| RGB | rgb(179, 56, 255) | color: rgb(179, 56, 255) | |
| CMYK | cmyk(30%, 78%, 0%, 0%) | — | |
| HSV | hsv(277, 78%, 100%) | — | |
| HWB | hwb(277 22% 0%) | color: hwb(277 22% 0%) | |
| OKLCH | oklch(0.6166 0.2737 308.07) | color: oklch(0.6166 0.2737 308.07) | |
| Lab | lab(51.42 77.91 -75.79) | color: lab(51.42 77.91 -75.79) | |
| LCH | lch(51.42 108.69 315.79) | color: lch(51.42 108.69 315.79) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#7E7DCF — rgb(126, 125, 207)
Deuteranopia (Green-blind)
#858EC3 — rgb(133, 142, 195)
Tritanopia (Blue-blind)
#ADA9A0 — rgb(173, 169, 160)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(277, 100%, 61%);
text
color: hsl(277, 100%, 61%);
border
border: 2px solid hsl(277, 100%, 61%);
gradient light
background: linear-gradient(to right, hsl(277, 100%, 81%), hsl(277, 100%, 61%));
gradient dark
background: linear-gradient(to right, hsl(277, 100%, 61%), hsl(277, 100%, 41%))
hex
background-color: #B338FF;
tailwind
bg-[hsl(277,100%,61%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(277, 100%, 61%, 0.4);
css variable
--color-primary: hsl(277, 100%, 61%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(277, 100%, 61%)?
HEX: #B338FF | RGB: rgb(179, 56, 255) | CMYK: 30%, 78%, 0%, 0% | HSV: 277°, 78%, 100%. Copy any format from the conversion table above.
What colors go well with #B338FF?
The complementary color is HSL(97, 100%, 61%). 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, 100%, 61%) in CSS?
As HSL: color: hsl(277, 100%, 61%); — As HEX: color: #B338FF; — As RGB: color: rgb(179, 56, 255); — Tailwind CSS: bg-[hsl(277,100%,61%)] — CSS variable: --color-primary: hsl(277, 100%, 61%);