HSL(272, 90%, 46%)
Vivid Indigo — Indigo color
Adjust Color
Color Information
Color Name
Vivid Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(272,90%,46%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(272, 90%, 46%) | color: hsl(272, 90%, 46%) | |
| HEX | #7C0CDF | color: #7C0CDF | |
| RGB | rgb(124, 12, 223) | color: rgb(124, 12, 223) | |
| CMYK | cmyk(44%, 95%, 0%, 13%) | — | |
| HSV | hsv(272, 95%, 87%) | — | |
| HWB | hwb(272 4% 13%) | color: hwb(272 4% 13%) | |
| OKLCH | oklch(0.4977 0.2627 298.39) | color: oklch(0.4977 0.2627 298.39) | |
| Lab | lab(37.62 74.76 -80.63) | color: lab(37.62 74.76 -80.63) | |
| LCH | lch(37.62 109.96 312.84) | color: lch(37.62 109.96 312.84) |
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)
#4C4AAC — rgb(76, 74, 172)
Deuteranopia (Green-blind)
#525AA0 — rgb(82, 90, 160)
Tritanopia (Blue-blind)
#76847B — rgb(118, 132, 123)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(272, 90%, 46%);
text
color: hsl(272, 90%, 46%);
border
border: 2px solid hsl(272, 90%, 46%);
gradient light
background: linear-gradient(to right, hsl(272, 90%, 66%), hsl(272, 90%, 46%));
gradient dark
background: linear-gradient(to right, hsl(272, 90%, 46%), hsl(272, 90%, 26%))
hex
background-color: #7C0CDF;
tailwind
bg-[hsl(272,90%,46%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(272, 90%, 46%, 0.4);
css variable
--color-primary: hsl(272, 90%, 46%);
Related Colors
Use Cases for Vivid Indigo
Frequently Asked Questions
What are all the color codes for HSL(272, 90%, 46%)?
HEX: #7C0CDF | RGB: rgb(124, 12, 223) | CMYK: 44%, 95%, 0%, 13% | HSV: 272°, 95%, 87%. Copy any format from the conversion table above.
What colors go well with #7C0CDF?
The complementary color is HSL(92, 90%, 46%). For a triadic harmony, use hues 272°, 32°, and 152°. For analogous combinations, try hues 242° and 302°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(272, 90%, 46%) in CSS?
As HSL: color: hsl(272, 90%, 46%); — As HEX: color: #7C0CDF; — As RGB: color: rgb(124, 12, 223); — Tailwind CSS: bg-[hsl(272,90%,46%)] — CSS variable: --color-primary: hsl(272, 90%, 46%);