HSL(280, 90%, 23%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(280,90%,23%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(280, 90%, 23%) | color: hsl(280, 90%, 23%) | |
| HEX | #4C066F | color: #4C066F | |
| RGB | rgb(76, 6, 111) | color: rgb(76, 6, 111) | |
| CMYK | cmyk(32%, 95%, 0%, 56%) | — | |
| HSV | hsv(280, 95%, 44%) | — | |
| HWB | hwb(280 2% 56%) | color: hwb(280 2% 56%) | |
| OKLCH | oklch(0.3256 0.1585 309.37) | color: oklch(0.3256 0.1585 309.37) | |
| Lab | lab(19.29 46.04 -43.07) | color: lab(19.29 46.04 -43.07) | |
| LCH | lch(19.29 63.05 316.91) | color: lch(19.29 63.05 316.91) |
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)
#2E2D56 — rgb(46, 45, 86)
Deuteranopia (Green-blind)
#323750 — rgb(50, 55, 80)
Tritanopia (Blue-blind)
#49423D — rgb(73, 66, 61)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(280, 90%, 23%);
text
color: hsl(280, 90%, 23%);
border
border: 2px solid hsl(280, 90%, 23%);
gradient light
background: linear-gradient(to right, hsl(280, 90%, 43%), hsl(280, 90%, 23%));
gradient dark
background: linear-gradient(to right, hsl(280, 90%, 23%), hsl(280, 90%, 3%))
hex
background-color: #4C066F;
tailwind
bg-[hsl(280,90%,23%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(280, 90%, 23%, 0.4);
css variable
--color-primary: hsl(280, 90%, 23%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(280, 90%, 23%)?
HEX: #4C066F | RGB: rgb(76, 6, 111) | CMYK: 32%, 95%, 0%, 56% | HSV: 280°, 95%, 44%. Copy any format from the conversion table above.
What colors go well with #4C066F?
The complementary color is HSL(100, 90%, 23%). For a triadic harmony, use hues 280°, 40°, and 160°. For analogous combinations, try hues 250° and 310°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(280, 90%, 23%) in CSS?
As HSL: color: hsl(280, 90%, 23%); — As HEX: color: #4C066F; — As RGB: color: rgb(76, 6, 111); — Tailwind CSS: bg-[hsl(280,90%,23%)] — CSS variable: --color-primary: hsl(280, 90%, 23%);