HSL(264, 72%, 56%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(264,72%,56%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(264, 72%, 56%) | color: hsl(264, 72%, 56%) | |
| HEX | #7F3EE0 | color: #7F3EE0 | |
| RGB | rgb(127, 62, 224) | color: rgb(127, 62, 224) | |
| CMYK | cmyk(43%, 72%, 0%, 12%) | — | |
| HSV | hsv(264, 72%, 88%) | — | |
| HWB | hwb(264 25% 12%) | color: hwb(264 25% 12%) | |
| OKLCH | oklch(0.5379 0.2291 296.03) | color: oklch(0.5379 0.2291 296.03) | |
| Lab | lab(43.27 60.23 -71.91) | color: lab(43.27 60.23 -71.91) | |
| LCH | lch(43.27 93.8 309.95) | color: lch(43.27 93.8 309.95) |
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)
#6362B9 — rgb(99, 98, 185)
Deuteranopia (Green-blind)
#676CAF — rgb(103, 108, 175)
Tritanopia (Blue-blind)
#7C9A93 — rgb(124, 154, 147)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(264, 72%, 56%);
text
color: hsl(264, 72%, 56%);
border
border: 2px solid hsl(264, 72%, 56%);
gradient light
background: linear-gradient(to right, hsl(264, 72%, 76%), hsl(264, 72%, 56%));
gradient dark
background: linear-gradient(to right, hsl(264, 72%, 56%), hsl(264, 72%, 36%))
hex
background-color: #7F3EE0;
tailwind
bg-[hsl(264,72%,56%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(264, 72%, 56%, 0.4);
css variable
--color-primary: hsl(264, 72%, 56%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(264, 72%, 56%)?
HEX: #7F3EE0 | RGB: rgb(127, 62, 224) | CMYK: 43%, 72%, 0%, 12% | HSV: 264°, 72%, 88%. Copy any format from the conversion table above.
What colors go well with #7F3EE0?
The complementary color is HSL(84, 72%, 56%). For a triadic harmony, use hues 264°, 24°, and 144°. For analogous combinations, try hues 234° and 294°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(264, 72%, 56%) in CSS?
As HSL: color: hsl(264, 72%, 56%); — As HEX: color: #7F3EE0; — As RGB: color: rgb(127, 62, 224); — Tailwind CSS: bg-[hsl(264,72%,56%)] — CSS variable: --color-primary: hsl(264, 72%, 56%);