HSL(263, 70%, 41%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(263,70%,41%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(263, 70%, 41%) | color: hsl(263, 70%, 41%) | |
| HEX | #571FB2 | color: #571FB2 | |
| RGB | rgb(87, 31, 178) | color: rgb(87, 31, 178) | |
| CMYK | cmyk(51%, 83%, 0%, 30%) | — | |
| HSV | hsv(263, 83%, 70%) | — | |
| HWB | hwb(263 12% 30%) | color: hwb(263 12% 30%) | |
| OKLCH | oklch(0.422 0.2079 292) | color: oklch(0.422 0.2079 292) | |
| Lab | lab(29.96 55.85 -67.1) | color: lab(29.96 55.85 -67.1) | |
| LCH | lch(29.96 87.3 309.77) | color: lch(29.96 87.3 309.77) |
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)
#3F3E8E — rgb(63, 62, 142)
Deuteranopia (Green-blind)
#424686 — rgb(66, 70, 134)
Tritanopia (Blue-blind)
#54726C — rgb(84, 114, 108)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(263, 70%, 41%);
text
color: hsl(263, 70%, 41%);
border
border: 2px solid hsl(263, 70%, 41%);
gradient light
background: linear-gradient(to right, hsl(263, 70%, 61%), hsl(263, 70%, 41%));
gradient dark
background: linear-gradient(to right, hsl(263, 70%, 41%), hsl(263, 70%, 21%))
hex
background-color: #571FB2;
tailwind
bg-[hsl(263,70%,41%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(263, 70%, 41%, 0.4);
css variable
--color-primary: hsl(263, 70%, 41%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(263, 70%, 41%)?
HEX: #571FB2 | RGB: rgb(87, 31, 178) | CMYK: 51%, 83%, 0%, 30% | HSV: 263°, 83%, 70%. Copy any format from the conversion table above.
What colors go well with #571FB2?
The complementary color is HSL(83, 70%, 41%). For a triadic harmony, use hues 263°, 23°, and 143°. For analogous combinations, try hues 233° and 293°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(263, 70%, 41%) in CSS?
As HSL: color: hsl(263, 70%, 41%); — As HEX: color: #571FB2; — As RGB: color: rgb(87, 31, 178); — Tailwind CSS: bg-[hsl(263,70%,41%)] — CSS variable: --color-primary: hsl(263, 70%, 41%);