HSL(278, 36%, 60%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(278,36%,60%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(278, 36%, 60%) | color: hsl(278, 36%, 60%) | |
| HEX | #A374BE | color: #A374BE | |
| RGB | rgb(163, 116, 190) | color: rgb(163, 116, 190) | |
| CMYK | cmyk(14%, 39%, 0%, 25%) | — | |
| HSV | hsv(278, 39%, 75%) | — | |
| HWB | hwb(278 46% 25%) | color: hwb(278 46% 25%) | |
| OKLCH | oklch(0.6343 0.1189 312.47) | color: oklch(0.6343 0.1189 312.47) | |
| Lab | lab(56.08 32.14 -31.77) | color: lab(56.08 32.14 -31.77) | |
| LCH | lch(56.08 45.19 315.33) | color: lch(56.08 45.19 315.33) |
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)
#8F8EAC — rgb(143, 142, 172)
Deuteranopia (Green-blind)
#9195A8 — rgb(145, 149, 168)
Tritanopia (Blue-blind)
#A19E9B — rgb(161, 158, 155)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(278, 36%, 60%);
text
color: hsl(278, 36%, 60%);
border
border: 2px solid hsl(278, 36%, 60%);
gradient light
background: linear-gradient(to right, hsl(278, 36%, 80%), hsl(278, 36%, 60%));
gradient dark
background: linear-gradient(to right, hsl(278, 36%, 60%), hsl(278, 36%, 40%))
hex
background-color: #A374BE;
tailwind
bg-[hsl(278,36%,60%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(278, 36%, 60%, 0.4);
css variable
--color-primary: hsl(278, 36%, 60%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(278, 36%, 60%)?
HEX: #A374BE | RGB: rgb(163, 116, 190) | CMYK: 14%, 39%, 0%, 25% | HSV: 278°, 39%, 75%. Copy any format from the conversion table above.
What colors go well with #A374BE?
The complementary color is HSL(98, 36%, 60%). For a triadic harmony, use hues 278°, 38°, and 158°. For analogous combinations, try hues 248° and 308°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(278, 36%, 60%) in CSS?
As HSL: color: hsl(278, 36%, 60%); — As HEX: color: #A374BE; — As RGB: color: rgb(163, 116, 190); — Tailwind CSS: bg-[hsl(278,36%,60%)] — CSS variable: --color-primary: hsl(278, 36%, 60%);