HSL(261, 72%, 52%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(261,72%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(261, 72%, 52%) | color: hsl(261, 72%, 52%) | |
| HEX | #6A2CDD | color: #6A2CDD | |
| RGB | rgb(106, 44, 221) | color: rgb(106, 44, 221) | |
| CMYK | cmyk(52%, 80%, 0%, 13%) | — | |
| HSV | hsv(261, 80%, 87%) | — | |
| HWB | hwb(261 17% 13%) | color: hwb(261 17% 13%) | |
| OKLCH | oklch(0.4949 0.2421 290.39) | color: oklch(0.4949 0.2421 290.39) | |
| Lab | lab(37.99 64.12 -78.93) | color: lab(37.99 64.12 -78.93) | |
| LCH | lch(37.99 101.69 309.09) | color: lch(37.99 101.69 309.09) |
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)
#4F4FB2 — rgb(79, 79, 178)
Deuteranopia (Green-blind)
#5357A8 — rgb(83, 87, 168)
Tritanopia (Blue-blind)
#679089 — rgb(103, 144, 137)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(261, 72%, 52%);
text
color: hsl(261, 72%, 52%);
border
border: 2px solid hsl(261, 72%, 52%);
gradient light
background: linear-gradient(to right, hsl(261, 72%, 72%), hsl(261, 72%, 52%));
gradient dark
background: linear-gradient(to right, hsl(261, 72%, 52%), hsl(261, 72%, 32%))
hex
background-color: #6A2CDD;
tailwind
bg-[hsl(261,72%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(261, 72%, 52%, 0.4);
css variable
--color-primary: hsl(261, 72%, 52%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(261, 72%, 52%)?
HEX: #6A2CDD | RGB: rgb(106, 44, 221) | CMYK: 52%, 80%, 0%, 13% | HSV: 261°, 80%, 87%. Copy any format from the conversion table above.
What colors go well with #6A2CDD?
The complementary color is HSL(81, 72%, 52%). For a triadic harmony, use hues 261°, 21°, and 141°. For analogous combinations, try hues 231° and 291°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(261, 72%, 52%) in CSS?
As HSL: color: hsl(261, 72%, 52%); — As HEX: color: #6A2CDD; — As RGB: color: rgb(106, 44, 221); — Tailwind CSS: bg-[hsl(261,72%,52%)] — CSS variable: --color-primary: hsl(261, 72%, 52%);