HSL(263, 48%, 54%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(263,48%,54%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(263, 48%, 54%) | color: hsl(263, 48%, 54%) | |
| HEX | #7D51C2 | color: #7D51C2 | |
| RGB | rgb(125, 81, 194) | color: rgb(125, 81, 194) | |
| CMYK | cmyk(36%, 58%, 0%, 24%) | — | |
| HSV | hsv(263, 58%, 76%) | — | |
| HWB | hwb(263 32% 24%) | color: hwb(263 32% 24%) | |
| OKLCH | oklch(0.5389 0.1703 298.47) | color: oklch(0.5389 0.1703 298.47) | |
| Lab | lab(44.43 42.43 -52.78) | color: lab(44.43 42.43 -52.78) | |
| LCH | lch(44.43 67.72 308.8) | color: lch(44.43 67.72 308.8) |
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)
#6A6AA7 — rgb(106, 106, 167)
Deuteranopia (Green-blind)
#6D70A0 — rgb(109, 112, 160)
Tritanopia (Blue-blind)
#7B918C — rgb(123, 145, 140)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(263, 48%, 54%);
text
color: hsl(263, 48%, 54%);
border
border: 2px solid hsl(263, 48%, 54%);
gradient light
background: linear-gradient(to right, hsl(263, 48%, 74%), hsl(263, 48%, 54%));
gradient dark
background: linear-gradient(to right, hsl(263, 48%, 54%), hsl(263, 48%, 34%))
hex
background-color: #7D51C2;
tailwind
bg-[hsl(263,48%,54%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(263, 48%, 54%, 0.4);
css variable
--color-primary: hsl(263, 48%, 54%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(263, 48%, 54%)?
HEX: #7D51C2 | RGB: rgb(125, 81, 194) | CMYK: 36%, 58%, 0%, 24% | HSV: 263°, 58%, 76%. Copy any format from the conversion table above.
What colors go well with #7D51C2?
The complementary color is HSL(83, 48%, 54%). For a triadic harmony, use hues 263°, 23°, and 143°. For analogous combinations, try hues 233° and 293°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(263, 48%, 54%) in CSS?
As HSL: color: hsl(263, 48%, 54%); — As HEX: color: #7D51C2; — As RGB: color: rgb(125, 81, 194); — Tailwind CSS: bg-[hsl(263,48%,54%)] — CSS variable: --color-primary: hsl(263, 48%, 54%);