HSL(261, 52%, 58%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(261,52%,58%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(261, 52%, 58%) | color: hsl(261, 52%, 58%) | |
| HEX | #835CCC | color: #835CCC | |
| RGB | rgb(131, 92, 204) | color: rgb(131, 92, 204) | |
| CMYK | cmyk(36%, 55%, 0%, 20%) | — | |
| HSV | hsv(261, 55%, 80%) | — | |
| HWB | hwb(261 36% 20%) | color: hwb(261 36% 20%) | |
| OKLCH | oklch(0.569 0.1673 296.81) | color: oklch(0.569 0.1673 296.81) | |
| Lab | lab(48.06 40.29 -52.7) | color: lab(48.06 40.29 -52.7) | |
| LCH | lch(48.06 66.34 307.4) | color: lch(48.06 66.34 307.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)
#7272B1 — rgb(114, 114, 177)
Deuteranopia (Green-blind)
#7477AA — rgb(116, 119, 170)
Tritanopia (Blue-blind)
#819C97 — rgb(129, 156, 151)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(261, 52%, 58%);
text
color: hsl(261, 52%, 58%);
border
border: 2px solid hsl(261, 52%, 58%);
gradient light
background: linear-gradient(to right, hsl(261, 52%, 78%), hsl(261, 52%, 58%));
gradient dark
background: linear-gradient(to right, hsl(261, 52%, 58%), hsl(261, 52%, 38%))
hex
background-color: #835CCC;
tailwind
bg-[hsl(261,52%,58%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(261, 52%, 58%, 0.4);
css variable
--color-primary: hsl(261, 52%, 58%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(261, 52%, 58%)?
HEX: #835CCC | RGB: rgb(131, 92, 204) | CMYK: 36%, 55%, 0%, 20% | HSV: 261°, 55%, 80%. Copy any format from the conversion table above.
What colors go well with #835CCC?
The complementary color is HSL(81, 52%, 58%). 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, 52%, 58%) in CSS?
As HSL: color: hsl(261, 52%, 58%); — As HEX: color: #835CCC; — As RGB: color: rgb(131, 92, 204); — Tailwind CSS: bg-[hsl(261,52%,58%)] — CSS variable: --color-primary: hsl(261, 52%, 58%);