HSL(259, 86%, 33%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(259,86%,33%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(259, 86%, 33%) | color: hsl(259, 86%, 33%) | |
| HEX | #3A0C9D | color: #3A0C9D | |
| RGB | rgb(58, 12, 157) | color: rgb(58, 12, 157) | |
| CMYK | cmyk(63%, 92%, 0%, 38%) | — | |
| HSV | hsv(259, 92%, 62%) | — | |
| HWB | hwb(259 5% 38%) | color: hwb(259 5% 38%) | |
| OKLCH | oklch(0.3553 0.1995 283.89) | color: oklch(0.3553 0.1995 283.89) | |
| Lab | lab(22.29 53.72 -67.19) | color: lab(22.29 53.72 -67.19) | |
| LCH | lch(22.29 86.03 308.64) | color: lch(22.29 86.03 308.64) |
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)
#26267A — rgb(38, 38, 122)
Deuteranopia (Green-blind)
#292C72 — rgb(41, 44, 114)
Tritanopia (Blue-blind)
#385E58 — rgb(56, 94, 88)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(259, 86%, 33%);
text
color: hsl(259, 86%, 33%);
border
border: 2px solid hsl(259, 86%, 33%);
gradient light
background: linear-gradient(to right, hsl(259, 86%, 53%), hsl(259, 86%, 33%));
gradient dark
background: linear-gradient(to right, hsl(259, 86%, 33%), hsl(259, 86%, 13%))
hex
background-color: #3A0C9D;
tailwind
bg-[hsl(259,86%,33%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(259, 86%, 33%, 0.4);
css variable
--color-primary: hsl(259, 86%, 33%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(259, 86%, 33%)?
HEX: #3A0C9D | RGB: rgb(58, 12, 157) | CMYK: 63%, 92%, 0%, 38% | HSV: 259°, 92%, 62%. Copy any format from the conversion table above.
What colors go well with #3A0C9D?
The complementary color is HSL(79, 86%, 33%). For a triadic harmony, use hues 259°, 19°, and 139°. For analogous combinations, try hues 229° and 289°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(259, 86%, 33%) in CSS?
As HSL: color: hsl(259, 86%, 33%); — As HEX: color: #3A0C9D; — As RGB: color: rgb(58, 12, 157); — Tailwind CSS: bg-[hsl(259,86%,33%)] — CSS variable: --color-primary: hsl(259, 86%, 33%);