HSL(268, 60%, 49%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(268,60%,49%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(268, 60%, 49%) | color: hsl(268, 60%, 49%) | |
| HEX | #7832C8 | color: #7832C8 | |
| RGB | rgb(120, 50, 200) | color: rgb(120, 50, 200) | |
| CMYK | cmyk(40%, 75%, 0%, 22%) | — | |
| HSV | hsv(268, 75%, 78%) | — | |
| HWB | hwb(268 20% 22%) | color: hwb(268 20% 22%) | |
| OKLCH | oklch(0.4973 0.2159 299.56) | color: oklch(0.4973 0.2159 299.56) | |
| Lab | lab(38.63 58.46 -65.7) | color: lab(38.63 58.46 -65.7) | |
| LCH | lch(38.63 87.94 311.66) | color: lch(38.63 87.94 311.66) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#5A59A4 — rgb(90, 89, 164)
Deuteranopia (Green-blind)
#5E639B — rgb(94, 99, 155)
Tritanopia (Blue-blind)
#758781 — rgb(117, 135, 129)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(268, 60%, 49%);
text
color: hsl(268, 60%, 49%);
border
border: 2px solid hsl(268, 60%, 49%);
gradient light
background: linear-gradient(to right, hsl(268, 60%, 69%), hsl(268, 60%, 49%));
gradient dark
background: linear-gradient(to right, hsl(268, 60%, 49%), hsl(268, 60%, 29%))
hex
background-color: #7832C8;
tailwind
bg-[hsl(268,60%,49%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(268, 60%, 49%, 0.4);
css variable
--color-primary: hsl(268, 60%, 49%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(268, 60%, 49%)?
HEX: #7832C8 | RGB: rgb(120, 50, 200) | CMYK: 40%, 75%, 0%, 22% | HSV: 268°, 75%, 78%. Copy any format from the conversion table above.
What colors go well with #7832C8?
The complementary color is HSL(88, 60%, 49%). For a triadic harmony, use hues 268°, 28°, and 148°. For analogous combinations, try hues 238° and 298°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(268, 60%, 49%) in CSS?
As HSL: color: hsl(268, 60%, 49%); — As HEX: color: #7832C8; — As RGB: color: rgb(120, 50, 200); — Tailwind CSS: bg-[hsl(268,60%,49%)] — CSS variable: --color-primary: hsl(268, 60%, 49%);