HSL(270, 70%, 60%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(270,70%,60%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(270, 70%, 60%) | color: hsl(270, 70%, 60%) | |
| HEX | #9952E0 | color: #9952E0 | |
| RGB | rgb(153, 82, 224) | color: rgb(153, 82, 224) | |
| CMYK | cmyk(32%, 63%, 0%, 12%) | — | |
| HSV | hsv(270, 63%, 88%) | — | |
| HWB | hwb(270 33% 12%) | color: hwb(270 33% 12%) | |
| OKLCH | oklch(0.5907 0.2087 303.61) | color: oklch(0.5907 0.2087 303.61) | |
| Lab | lab(49.72 55.64 -61.29) | color: lab(49.72 55.64 -61.29) | |
| LCH | lch(49.72 82.78 312.23) | color: lch(49.72 82.78 312.23) |
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)
#7A7ABE — rgb(122, 122, 190)
Deuteranopia (Green-blind)
#7E84B5 — rgb(126, 132, 181)
Tritanopia (Blue-blind)
#95A39D — rgb(149, 163, 157)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(270, 70%, 60%);
text
color: hsl(270, 70%, 60%);
border
border: 2px solid hsl(270, 70%, 60%);
gradient light
background: linear-gradient(to right, hsl(270, 70%, 80%), hsl(270, 70%, 60%));
gradient dark
background: linear-gradient(to right, hsl(270, 70%, 60%), hsl(270, 70%, 40%))
hex
background-color: #9952E0;
tailwind
bg-[hsl(270,70%,60%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(270, 70%, 60%, 0.4);
css variable
--color-primary: hsl(270, 70%, 60%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(270, 70%, 60%)?
HEX: #9952E0 | RGB: rgb(153, 82, 224) | CMYK: 32%, 63%, 0%, 12% | HSV: 270°, 63%, 88%. Copy any format from the conversion table above.
What colors go well with #9952E0?
The complementary color is HSL(90, 70%, 60%). For a triadic harmony, use hues 270°, 30°, and 150°. For analogous combinations, try hues 240° and 300°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(270, 70%, 60%) in CSS?
As HSL: color: hsl(270, 70%, 60%); — As HEX: color: #9952E0; — As RGB: color: rgb(153, 82, 224); — Tailwind CSS: bg-[hsl(270,70%,60%)] — CSS variable: --color-primary: hsl(270, 70%, 60%);