HSL(270, 70%, 68%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(270,70%,68%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(270, 70%, 68%) | color: hsl(270, 70%, 68%) | |
| HEX | #AD74E7 | color: #AD74E7 | |
| RGB | rgb(173, 116, 231) | color: rgb(173, 116, 231) | |
| CMYK | cmyk(25%, 50%, 0%, 9%) | — | |
| HSV | hsv(270, 50%, 91%) | — | |
| HWB | hwb(270 46% 9%) | color: hwb(270 46% 9%) | |
| OKLCH | oklch(0.6658 0.1718 305.09) | color: oklch(0.6658 0.1718 305.09) | |
| Lab | lab(59.11 44.28 -50.09) | color: lab(59.11 44.28 -50.09) | |
| LCH | lch(59.11 66.86 311.48) | color: lch(59.11 66.86 311.48) |
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)
#9494CB — rgb(148, 148, 203)
Deuteranopia (Green-blind)
#989CC5 — rgb(152, 156, 197)
Tritanopia (Blue-blind)
#AAB5B0 — rgb(170, 181, 176)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(270, 70%, 68%);
text
color: hsl(270, 70%, 68%);
border
border: 2px solid hsl(270, 70%, 68%);
gradient light
background: linear-gradient(to right, hsl(270, 70%, 88%), hsl(270, 70%, 68%));
gradient dark
background: linear-gradient(to right, hsl(270, 70%, 68%), hsl(270, 70%, 48%))
hex
background-color: #AD74E7;
tailwind
bg-[hsl(270,70%,68%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(270, 70%, 68%, 0.4);
css variable
--color-primary: hsl(270, 70%, 68%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(270, 70%, 68%)?
HEX: #AD74E7 | RGB: rgb(173, 116, 231) | CMYK: 25%, 50%, 0%, 9% | HSV: 270°, 50%, 91%. Copy any format from the conversion table above.
What colors go well with #AD74E7?
The complementary color is HSL(90, 70%, 68%). 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%, 68%) in CSS?
As HSL: color: hsl(270, 70%, 68%); — As HEX: color: #AD74E7; — As RGB: color: rgb(173, 116, 231); — Tailwind CSS: bg-[hsl(270,70%,68%)] — CSS variable: --color-primary: hsl(270, 70%, 68%);