HSL(268, 83%, 30%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(268,83%,30%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(268, 83%, 30%) | color: hsl(268, 83%, 30%) | |
| HEX | #480D8C | color: #480D8C | |
| RGB | rgb(72, 13, 140) | color: rgb(72, 13, 140) | |
| CMYK | cmyk(49%, 91%, 0%, 45%) | — | |
| HSV | hsv(268, 91%, 55%) | — | |
| HWB | hwb(268 5% 45%) | color: hwb(268 5% 45%) | |
| OKLCH | oklch(0.3526 0.1811 295.75) | color: oklch(0.3526 0.1811 295.75) | |
| Lab | lab(22.16 50.46 -56.84) | color: lab(22.16 50.46 -56.84) | |
| LCH | lch(22.16 76.01 311.6) | color: lch(22.16 76.01 311.6) |
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)
#2E2E6D — rgb(46, 46, 109)
Deuteranopia (Green-blind)
#323666 — rgb(50, 54, 102)
Tritanopia (Blue-blind)
#455550 — rgb(69, 85, 80)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(268, 83%, 30%);
text
color: hsl(268, 83%, 30%);
border
border: 2px solid hsl(268, 83%, 30%);
gradient light
background: linear-gradient(to right, hsl(268, 83%, 50%), hsl(268, 83%, 30%));
gradient dark
background: linear-gradient(to right, hsl(268, 83%, 30%), hsl(268, 83%, 10%))
hex
background-color: #480D8C;
tailwind
bg-[hsl(268,83%,30%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(268, 83%, 30%, 0.4);
css variable
--color-primary: hsl(268, 83%, 30%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(268, 83%, 30%)?
HEX: #480D8C | RGB: rgb(72, 13, 140) | CMYK: 49%, 91%, 0%, 45% | HSV: 268°, 91%, 55%. Copy any format from the conversion table above.
What colors go well with #480D8C?
The complementary color is HSL(88, 83%, 30%). 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, 83%, 30%) in CSS?
As HSL: color: hsl(268, 83%, 30%); — As HEX: color: #480D8C; — As RGB: color: rgb(72, 13, 140); — Tailwind CSS: bg-[hsl(268,83%,30%)] — CSS variable: --color-primary: hsl(268, 83%, 30%);