HSL(270, 63%, 60%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(270,63%,60%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(270, 63%, 60%) | color: hsl(270, 63%, 60%) | |
| HEX | #9959D9 | color: #9959D9 | |
| RGB | rgb(153, 89, 217) | color: rgb(153, 89, 217) | |
| CMYK | cmyk(29%, 59%, 0%, 15%) | — | |
| HSV | hsv(270, 59%, 85%) | — | |
| HWB | hwb(270 35% 15%) | color: hwb(270 35% 15%) | |
| OKLCH | oklch(0.5957 0.1912 304.25) | color: oklch(0.5957 0.1912 304.25) | |
| Lab | lab(50.6 50.42 -55.91) | color: lab(50.6 50.42 -55.91) | |
| LCH | lch(50.6 75.29 312.04) | color: lch(50.6 75.29 312.04) |
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)
#7D7DBA — rgb(125, 125, 186)
Deuteranopia (Green-blind)
#8186B3 — rgb(129, 134, 179)
Tritanopia (Blue-blind)
#96A29C — rgb(150, 162, 156)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(270, 63%, 60%);
text
color: hsl(270, 63%, 60%);
border
border: 2px solid hsl(270, 63%, 60%);
gradient light
background: linear-gradient(to right, hsl(270, 63%, 80%), hsl(270, 63%, 60%));
gradient dark
background: linear-gradient(to right, hsl(270, 63%, 60%), hsl(270, 63%, 40%))
hex
background-color: #9959D9;
tailwind
bg-[hsl(270,63%,60%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(270, 63%, 60%, 0.4);
css variable
--color-primary: hsl(270, 63%, 60%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(270, 63%, 60%)?
HEX: #9959D9 | RGB: rgb(153, 89, 217) | CMYK: 29%, 59%, 0%, 15% | HSV: 270°, 59%, 85%. Copy any format from the conversion table above.
What colors go well with #9959D9?
The complementary color is HSL(90, 63%, 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, 63%, 60%) in CSS?
As HSL: color: hsl(270, 63%, 60%); — As HEX: color: #9959D9; — As RGB: color: rgb(153, 89, 217); — Tailwind CSS: bg-[hsl(270,63%,60%)] — CSS variable: --color-primary: hsl(270, 63%, 60%);