HSL(261, 83%, 42%)
Vivid Indigo — Indigo color
Adjust Color
Color Information
Color Name
Vivid Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(261,83%,42%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(261, 83%, 42%) | color: hsl(261, 83%, 42%) | |
| HEX | #5012C4 | color: #5012C4 | |
| RGB | rgb(80, 18, 196) | color: rgb(80, 18, 196) | |
| CMYK | cmyk(59%, 91%, 0%, 23%) | — | |
| HSV | hsv(261, 91%, 77%) | — | |
| HWB | hwb(261 7% 23%) | color: hwb(261 7% 23%) | |
| OKLCH | oklch(0.4241 0.2345 286.2) | color: oklch(0.4241 0.2345 286.2) | |
| Lab | lab(29.72 63.71 -78.19) | color: lab(29.72 63.71 -78.19) | |
| LCH | lch(29.72 100.86 309.17) | color: lch(29.72 100.86 309.17) |
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)
#353599 — rgb(53, 53, 153)
Deuteranopia (Green-blind)
#393D8F — rgb(57, 61, 143)
Tritanopia (Blue-blind)
#4D776F — rgb(77, 119, 111)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(261, 83%, 42%);
text
color: hsl(261, 83%, 42%);
border
border: 2px solid hsl(261, 83%, 42%);
gradient light
background: linear-gradient(to right, hsl(261, 83%, 62%), hsl(261, 83%, 42%));
gradient dark
background: linear-gradient(to right, hsl(261, 83%, 42%), hsl(261, 83%, 22%))
hex
background-color: #5012C4;
tailwind
bg-[hsl(261,83%,42%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(261, 83%, 42%, 0.4);
css variable
--color-primary: hsl(261, 83%, 42%);
Related Colors
Use Cases for Vivid Indigo
Frequently Asked Questions
What are all the color codes for HSL(261, 83%, 42%)?
HEX: #5012C4 | RGB: rgb(80, 18, 196) | CMYK: 59%, 91%, 0%, 23% | HSV: 261°, 91%, 77%. Copy any format from the conversion table above.
What colors go well with #5012C4?
The complementary color is HSL(81, 83%, 42%). 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, 83%, 42%) in CSS?
As HSL: color: hsl(261, 83%, 42%); — As HEX: color: #5012C4; — As RGB: color: rgb(80, 18, 196); — Tailwind CSS: bg-[hsl(261,83%,42%)] — CSS variable: --color-primary: hsl(261, 83%, 42%);