HSL(261, 68%, 33%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(261,68%,33%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(261, 68%, 33%) | color: hsl(261, 68%, 33%) | |
| HEX | #431B8D | color: #431B8D | |
| RGB | rgb(67, 27, 141) | color: rgb(67, 27, 141) | |
| CMYK | cmyk(52%, 81%, 0%, 45%) | — | |
| HSV | hsv(261, 81%, 55%) | — | |
| HWB | hwb(261 10% 45%) | color: hwb(261 10% 45%) | |
| OKLCH | oklch(0.3596 0.171 291.08) | color: oklch(0.3596 0.171 291.08) | |
| Lab | lab(23.34 45.02 -55.54) | color: lab(23.34 45.02 -55.54) | |
| LCH | lch(23.34 71.49 309.03) | color: lch(23.34 71.49 309.03) |
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)
#323171 — rgb(50, 49, 113)
Deuteranopia (Green-blind)
#34376B — rgb(52, 55, 107)
Tritanopia (Blue-blind)
#415C57 — rgb(65, 92, 87)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(261, 68%, 33%);
text
color: hsl(261, 68%, 33%);
border
border: 2px solid hsl(261, 68%, 33%);
gradient light
background: linear-gradient(to right, hsl(261, 68%, 53%), hsl(261, 68%, 33%));
gradient dark
background: linear-gradient(to right, hsl(261, 68%, 33%), hsl(261, 68%, 13%))
hex
background-color: #431B8D;
tailwind
bg-[hsl(261,68%,33%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(261, 68%, 33%, 0.4);
css variable
--color-primary: hsl(261, 68%, 33%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(261, 68%, 33%)?
HEX: #431B8D | RGB: rgb(67, 27, 141) | CMYK: 52%, 81%, 0%, 45% | HSV: 261°, 81%, 55%. Copy any format from the conversion table above.
What colors go well with #431B8D?
The complementary color is HSL(81, 68%, 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, 68%, 33%) in CSS?
As HSL: color: hsl(261, 68%, 33%); — As HEX: color: #431B8D; — As RGB: color: rgb(67, 27, 141); — Tailwind CSS: bg-[hsl(261,68%,33%)] — CSS variable: --color-primary: hsl(261, 68%, 33%);