HSL(272, 50%, 70%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(272,50%,70%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(272, 50%, 70%) | color: hsl(272, 50%, 70%) | |
| HEX | #B58CD9 | color: #B58CD9 | |
| RGB | rgb(181, 140, 217) | color: rgb(181, 140, 217) | |
| CMYK | cmyk(17%, 35%, 0%, 15%) | — | |
| HSV | hsv(272, 35%, 85%) | — | |
| HWB | hwb(272 55% 15%) | color: hwb(272 55% 15%) | |
| OKLCH | oklch(0.7071 0.1176 308.05) | color: oklch(0.7071 0.1176 308.05) | |
| Lab | lab(64.64 30.09 -33.55) | color: lab(64.64 30.09 -33.55) | |
| LCH | lch(64.64 45.07 311.89) | color: lch(64.64 45.07 311.89) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#A3A3C6 — rgb(163, 163, 198)
Deuteranopia (Green-blind)
#A6A9C2 — rgb(166, 169, 194)
Tritanopia (Blue-blind)
#B3B8B4 — rgb(179, 184, 180)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(272, 50%, 70%);
text
color: hsl(272, 50%, 70%);
border
border: 2px solid hsl(272, 50%, 70%);
gradient light
background: linear-gradient(to right, hsl(272, 50%, 90%), hsl(272, 50%, 70%));
gradient dark
background: linear-gradient(to right, hsl(272, 50%, 70%), hsl(272, 50%, 50%))
hex
background-color: #B58CD9;
tailwind
bg-[hsl(272,50%,70%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(272, 50%, 70%, 0.4);
css variable
--color-primary: hsl(272, 50%, 70%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(272, 50%, 70%)?
HEX: #B58CD9 | RGB: rgb(181, 140, 217) | CMYK: 17%, 35%, 0%, 15% | HSV: 272°, 35%, 85%. Copy any format from the conversion table above.
What colors go well with #B58CD9?
The complementary color is HSL(92, 50%, 70%). For a triadic harmony, use hues 272°, 32°, and 152°. For analogous combinations, try hues 242° and 302°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(272, 50%, 70%) in CSS?
As HSL: color: hsl(272, 50%, 70%); — As HEX: color: #B58CD9; — As RGB: color: rgb(181, 140, 217); — Tailwind CSS: bg-[hsl(272,50%,70%)] — CSS variable: --color-primary: hsl(272, 50%, 70%);