HSL(261, 87%, 33%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(261,87%,33%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(261, 87%, 33%) | color: hsl(261, 87%, 33%) | |
| HEX | #3E0B9D | color: #3E0B9D | |
| RGB | rgb(62, 11, 157) | color: rgb(62, 11, 157) | |
| CMYK | cmyk(61%, 93%, 0%, 38%) | — | |
| HSV | hsv(261, 93%, 62%) | — | |
| HWB | hwb(261 4% 38%) | color: hwb(261 4% 38%) | |
| OKLCH | oklch(0.3587 0.1995 285.99) | color: oklch(0.3587 0.1995 285.99) | |
| Lab | lab(22.64 54.28 -66.58) | color: lab(22.64 54.28 -66.58) | |
| LCH | lch(22.64 85.9 309.19) | color: lch(22.64 85.9 309.19) |
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)
#28277A — rgb(40, 39, 122)
Deuteranopia (Green-blind)
#2B2F71 — rgb(43, 47, 113)
Tritanopia (Blue-blind)
#3B5E58 — rgb(59, 94, 88)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(261, 87%, 33%);
text
color: hsl(261, 87%, 33%);
border
border: 2px solid hsl(261, 87%, 33%);
gradient light
background: linear-gradient(to right, hsl(261, 87%, 53%), hsl(261, 87%, 33%));
gradient dark
background: linear-gradient(to right, hsl(261, 87%, 33%), hsl(261, 87%, 13%))
hex
background-color: #3E0B9D;
tailwind
bg-[hsl(261,87%,33%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(261, 87%, 33%, 0.4);
css variable
--color-primary: hsl(261, 87%, 33%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(261, 87%, 33%)?
HEX: #3E0B9D | RGB: rgb(62, 11, 157) | CMYK: 61%, 93%, 0%, 38% | HSV: 261°, 93%, 62%. Copy any format from the conversion table above.
What colors go well with #3E0B9D?
The complementary color is HSL(81, 87%, 33%). 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, 87%, 33%) in CSS?
As HSL: color: hsl(261, 87%, 33%); — As HEX: color: #3E0B9D; — As RGB: color: rgb(62, 11, 157); — Tailwind CSS: bg-[hsl(261,87%,33%)] — CSS variable: --color-primary: hsl(261, 87%, 33%);