HSL(264, 49%, 52%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(264,49%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(264, 49%, 52%) | color: hsl(264, 49%, 52%) | |
| HEX | #7949C1 | color: #7949C1 | |
| RGB | rgb(121, 73, 193) | color: rgb(121, 73, 193) | |
| CMYK | cmyk(37%, 62%, 0%, 24%) | — | |
| HSV | hsv(264, 62%, 76%) | — | |
| HWB | hwb(264 29% 24%) | color: hwb(264 29% 24%) | |
| OKLCH | oklch(0.522 0.18 298.35) | color: oklch(0.522 0.18 298.35) | |
| Lab | lab(42.28 45.66 -55.69) | color: lab(42.28 45.66 -55.69) | |
| LCH | lch(42.28 72.02 309.35) | color: lch(42.28 72.02 309.35) |
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)
#6464A4 — rgb(100, 100, 164)
Deuteranopia (Green-blind)
#676B9D — rgb(103, 107, 157)
Tritanopia (Blue-blind)
#778D88 — rgb(119, 141, 136)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(264, 49%, 52%);
text
color: hsl(264, 49%, 52%);
border
border: 2px solid hsl(264, 49%, 52%);
gradient light
background: linear-gradient(to right, hsl(264, 49%, 72%), hsl(264, 49%, 52%));
gradient dark
background: linear-gradient(to right, hsl(264, 49%, 52%), hsl(264, 49%, 32%))
hex
background-color: #7949C1;
tailwind
bg-[hsl(264,49%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(264, 49%, 52%, 0.4);
css variable
--color-primary: hsl(264, 49%, 52%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(264, 49%, 52%)?
HEX: #7949C1 | RGB: rgb(121, 73, 193) | CMYK: 37%, 62%, 0%, 24% | HSV: 264°, 62%, 76%. Copy any format from the conversion table above.
What colors go well with #7949C1?
The complementary color is HSL(84, 49%, 52%). 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, 49%, 52%) in CSS?
As HSL: color: hsl(264, 49%, 52%); — As HEX: color: #7949C1; — As RGB: color: rgb(121, 73, 193); — Tailwind CSS: bg-[hsl(264,49%,52%)] — CSS variable: --color-primary: hsl(264, 49%, 52%);