HSL(270, 90%, 48%)
Vivid Indigo — Indigo color
Adjust Color
Color Information
Color Name
Vivid Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(270,90%,48%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(270, 90%, 48%) | color: hsl(270, 90%, 48%) | |
| HEX | #7A0CE9 | color: #7A0CE9 | |
| RGB | rgb(122, 12, 233) | color: rgb(122, 12, 233) | |
| CMYK | cmyk(48%, 95%, 0%, 9%) | — | |
| HSV | hsv(270, 95%, 91%) | — | |
| HWB | hwb(270 5% 9%) | color: hwb(270 5% 9%) | |
| OKLCH | oklch(0.505 0.2711 295.67) | color: oklch(0.505 0.2711 295.67) | |
| Lab | lab(38.35 76.7 -85.14) | color: lab(38.35 76.7 -85.14) | |
| LCH | lch(38.35 114.59 312.01) | color: lch(38.35 114.59 312.01) |
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)
#4A49B4 — rgb(74, 73, 180)
Deuteranopia (Green-blind)
#5159A7 — rgb(81, 89, 167)
Tritanopia (Blue-blind)
#758980 — rgb(117, 137, 128)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(270, 90%, 48%);
text
color: hsl(270, 90%, 48%);
border
border: 2px solid hsl(270, 90%, 48%);
gradient light
background: linear-gradient(to right, hsl(270, 90%, 68%), hsl(270, 90%, 48%));
gradient dark
background: linear-gradient(to right, hsl(270, 90%, 48%), hsl(270, 90%, 28%))
hex
background-color: #7A0CE9;
tailwind
bg-[hsl(270,90%,48%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(270, 90%, 48%, 0.4);
css variable
--color-primary: hsl(270, 90%, 48%);
Related Colors
Use Cases for Vivid Indigo
Frequently Asked Questions
What are all the color codes for HSL(270, 90%, 48%)?
HEX: #7A0CE9 | RGB: rgb(122, 12, 233) | CMYK: 48%, 95%, 0%, 9% | HSV: 270°, 95%, 91%. Copy any format from the conversion table above.
What colors go well with #7A0CE9?
The complementary color is HSL(90, 90%, 48%). For a triadic harmony, use hues 270°, 30°, and 150°. For analogous combinations, try hues 240° and 300°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(270, 90%, 48%) in CSS?
As HSL: color: hsl(270, 90%, 48%); — As HEX: color: #7A0CE9; — As RGB: color: rgb(122, 12, 233); — Tailwind CSS: bg-[hsl(270,90%,48%)] — CSS variable: --color-primary: hsl(270, 90%, 48%);