HSL(261, 100%, 37%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(261,100%,37%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(261, 100%, 37%) | color: hsl(261, 100%, 37%) | |
| HEX | #4200BD | color: #4200BD | |
| RGB | rgb(66, 0, 189) | color: rgb(66, 0, 189) | |
| CMYK | cmyk(65%, 100%, 0%, 26%) | — | |
| HSV | hsv(261, 100%, 74%) | — | |
| HWB | hwb(261 0% 26%) | color: hwb(261 0% 26%) | |
| OKLCH | oklch(0.3951 0.2354 282.14) | color: oklch(0.3951 0.2354 282.14) | |
| Lab | lab(26.25 64.68 -79.86) | color: lab(26.25 64.68 -79.86) | |
| LCH | lch(26.25 102.77 309) | color: lch(26.25 102.77 309) |
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)
#25258F — rgb(37, 37, 143)
Deuteranopia (Green-blind)
#292E84 — rgb(41, 46, 132)
Tritanopia (Blue-blind)
#3F6B63 — rgb(63, 107, 99)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(261, 100%, 37%);
text
color: hsl(261, 100%, 37%);
border
border: 2px solid hsl(261, 100%, 37%);
gradient light
background: linear-gradient(to right, hsl(261, 100%, 57%), hsl(261, 100%, 37%));
gradient dark
background: linear-gradient(to right, hsl(261, 100%, 37%), hsl(261, 100%, 17%))
hex
background-color: #4200BD;
tailwind
bg-[hsl(261,100%,37%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(261, 100%, 37%, 0.4);
css variable
--color-primary: hsl(261, 100%, 37%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(261, 100%, 37%)?
HEX: #4200BD | RGB: rgb(66, 0, 189) | CMYK: 65%, 100%, 0%, 26% | HSV: 261°, 100%, 74%. Copy any format from the conversion table above.
What colors go well with #4200BD?
The complementary color is HSL(81, 100%, 37%). 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, 100%, 37%) in CSS?
As HSL: color: hsl(261, 100%, 37%); — As HEX: color: #4200BD; — As RGB: color: rgb(66, 0, 189); — Tailwind CSS: bg-[hsl(261,100%,37%)] — CSS variable: --color-primary: hsl(261, 100%, 37%);